Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

graph(1g)

plot(1g)

plot(5)

plot(3x)

NAME

openpl, erase, label, line, circle, arc, move, cont, point, linemod, space, closepl, box, color, dot − graphics interface

SYNTAX

openpl()

erase()

label(s)
char s[];

line(x1, y1, x2, y2)

circle(x, y, r)

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

move(x, y)

cont(x, y)

point(x, y)

linemod(s)
char s[];

space(x0, y0, x1, y1)

closepl()

box(x0,x1,y0,y1)

color(c)

dot()

DESCRIPTION

These subroutines generate graphic output in a device-independent manner.  See plot() for a description of their effect. The openpl subroutine precedes the other subroutines as it opens the device for writing. The closepl subroutine flushes the output. The box, color, and dot routines are used by the lvp16 and hp7475a plotters only.

String arguments to label and linemod are null-terminated and do not contain newlines.

Many of these functions have additional options for different output devices.  They are accessed by the ld() options as follows:

−lplotdevice-independent graphics stream on standard output for plot() filters

−l300GSI 300 terminal

−l300sGSI 300S terminal

−l450DASI 450 terminal

−l4014Tektronix 4014 terminal

−llvp16DEC LVP16 and HP7475A plotters

SEE ALSO

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

Subroutines

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