Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

plot(5)

plot(1G)

graph(1G)

PLOT(3X)

NAME

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

USAGE

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()

DESCRIPTION

These subroutines generate graphic output in a relatively device-independent manner.  See plot(5) for a description of their effect.  Openpl must be used before any of the others to open the device for writing.  Closepl flushes the output. 

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

Various flavors of these functions exist for different output devices.  They are obtained by the following ld(1) options:

-lplot produce a device-independent graphics stream on standard output for plot(1) filters

-lgmr produce a DOMAIN 2D Graphics Metafile Resource (2DGMR) file. 

FILES

libplot.a library of plotting functions

RELATED INFORMATION

plot(5), plot(1G), graph(1G)

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