Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ plot(3X) — A/UX 3.0.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

tplot(1G)

plot(4)




plot(3X) plot(3X)
NAME plot - provide graphics interface subroutines SYNOPSIS int openpl() int erase() int label(s) char *s; int line(x1, y1, x2, y2) int x1, y1, x2, y2; int circle(x, y, r) int x, y, r; int arc(x, y, x0, y0, x1, y1) int x, y, x0, y0, x1, y1; int move(x, y) int x, y; int cont(x, y) int x, y; int point(x, y) int x, y; int linemod(s) char *s; int space(x0, y0, x1, y1) int x0, y0, x1, y1; int closepl() DESCRIPTION These subroutines generate graphic output in a relatively device-independent manner. space must be used before any of these functions to declare the amount of space necessary; see plot(4). openpl must be used before any of the others to open the device for writing. closepl flushes the output. circle draws a circle of radius r with center at the point (x,y). arc 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 newlines. January 1992 1



plot(3X) plot(3X)
See plot(4) for a description of the effect of the remaining functions. The library files listed below provide several variations of these routines. WARNINGS To compile a program containing these functions in file.c, use cc file.c -lplot To execute it, use a.out | tplo The above routines use <stdio.h>. Therefore, the size of programs not otherwise using standard I/O is increased more than might be expected. FILES /usr/lib/libplot.a File that produces output for tplot(1G) filters /usr/lib/lib300.a File for DASI 300 /usr/lib/lib300s.a File for DASI 300s /usr/lib/lib450.a File for DASI 450 /usr/lib/lib4014.a File for Tektronix 4014 SEE ALSO tplot(1G), plot(4) 2 January 1992

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