Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ plot(3x) — Ultrix-11 3.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

graph(1g)

plot(1g)

plot(5)

plot(3x)

NAME

plot − graphics interface subroutines

SYNTAX

openpl()

erase()

label(s)
char *s;

line(x1, y1, x2, y2)
int x1, y1, x2, y2;

circle(x, y, r)
int x, y, r;

arc(x, y, x0, y0, x1, y1)
int x, y, x0, y0, x1, y1;

move(x, y)
int x, y;

cont(x, y)
int x, y;

point(x, y)
int x, y;

linemod(s)
char *s;

space(x0, y0, x1, y1)
int x0, y0, x1, y1;

closepl()

DESCRIPTION

These subroutines generate graphic output in a relatively device-independent manner.  The space subroutine must be used before any of these functions to declare the amount of space necessary.  For further information, see plot(5).  The openpl subroutine must be used before any of the others to open the device for writing.  The closepl flushes the output. 

The circle subroutine draws a circle of radius r with center at the point (x, y).

The arc subroutine draws an arc of a circle with center at the point (x, y) between the points (x0, y0) and (x1, y1).

String arguments to label and linemod are terminated by nulls and do not contain new-lines. 

See plot(5) for a description of the effect of the remaining functions. 

The library files listed below provide several flavors of these routines. 

FILES

/usr/lib/libplot.a produces output for plot(1g) filters
/usr/lib/libt300.a for DASI 300
/usr/lib/libt300s.a for DASI 300s
/usr/lib/libt450.a for DASI 450
/usr/lib/libt4014.a for TEKTRONIX 4014
/usr/lib/libtregis.a for any REGIS output device
/usr/lib/libtla50.a for LA50 Line Printer
/usr/lib/libtla100.a for LA100 Line Printer
/usr/lib/libtgigi.a for GIGI Terminal

WARNINGS

In order to compile a program containing these functions in file.c it is necessary to use “cc file.c −lplot”. 

The above routines use <stdio.h>, which causes them to increase the size of programs, not otherwise using standard I/O, more than might be expected. 

SEE ALSO

graph(1g), plot(1g), plot(5)

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026