02.07.2013 Views

A/UX® Programmer's Reference Sections

A/UX® Programmer's Reference Sections

A/UX® Programmer's Reference Sections

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

plot(3X) plot(3X)<br />

NAME<br />

plot - graphics interface subroutines<br />

SYNOPSIS<br />

int openpl ()<br />

int erase ()<br />

int label (s)<br />

char *s;<br />

int line(xl, yl, x2, y2)<br />

int xl, yl, x2, y2;<br />

int circle (x, y, r)<br />

int x, y, r;<br />

int arc(x, y, xO, yO, xl, yl)<br />

int x, y, xO, yO, xl, yl;<br />

int move (x, y)<br />

int x, y;<br />

int cont (x, y)<br />

int x, y;<br />

int point (x, y)<br />

int x, y;<br />

int linemod (s)<br />

char *s;<br />

int space (xO, yO, xl, yl)<br />

int xO, yO, xl, yl;<br />

int closepl ()<br />

DESCRIPTION<br />

These subroutines generate graphic output in a relatively deviceindependent<br />

manner. space must be used before any of these<br />

functions to declare the amount of space necessary; see plot(4).<br />

openpl must be used before any of the others to open the device<br />

for writing. closepl flushes the output.<br />

1<br />

ci rcle draws a circle of radius r with center at the point (x,y).<br />

a rc draws an arc of a circle with center at the point (x,y) between<br />

the points (xO,yO) and (xl,yl).<br />

String arguments to label and linemod are terminated by nulls<br />

and do not contain newlines.<br />

February, 1990<br />

RevisionC

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!