*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: plot | Section: 3 | Source: UNIX v10 | File: plot.3
PLOT(3) Library Functions Manual PLOT(3) NAME vec, move, etc. - plot graphics interface SYNOPSIS #include <plot.h> openpl(s) char *s; closepl() erase() move(x, y) double x, y; rmove(dx, dy) double dx, dy; point(x, y) double dx, dy; vec(x, y) double x, y; rvec(dx, dy) double dx, dy; line(x1, y1, x2, y2) double x1, y1, x2, y2; arc(x1, y1, x2, y2, x, y, r) double x1, y1, x2, y2, x, y, r; circle(xc, yc, r) double xc, yc, r; box(x1, y1, x2, y2) double x1, y1, x2, y2; sbox(x1, y1, x2, y2) double x1, y1, x2, y2; parabola(x1, y1, x2, y2, x3, y3) double x1, y1, x2, y2, x3, y3; fill(n, arr) int n[]; double *arr[]; poly(n, arr) int n[]; double *arr[]; spline(n, arr) int n[]; double *arr[]; cspline(n, arr) int n[]; double *arr[]; fspline(n, arr) int n[]; double *arr[]; lspline(n, arr) int n[]; double *arr[]; dspline(n, arr) int n[]; double *arr[]; text(s) char *s; color(s) char *s; cfill(s) char *s; pen(s) char *s; range(x1, y1, x2, y2) double x1, y1, x2, y2; frame(x1, y1, x2, y2) double x1, y1, x2, y2; grade(x) double x; save() restore() ppause() DESCRIPTION These functions generate either a device-independent graphic stream (see plot(5)) or device-dependent graphics commands. The include file <plot.h> is used only for device-independent output. An alternative include file, <iplot.h>, supports device-independent output using iden- tically named functions of integer, instead of double, arguments. Libraries for different devices are loaded with the following ld(1) flags: -lplot general stream output -l2621 HP2621 terminal -l4014 Tektronix 4014 terminal -ltr Troff input, tuned for the Mergenthaler Linotron 202 phototype- setter -lpen HP7580 pen plotter -l5620 5620 terminal running mux String arguments are null-terminated and may not contain embedded new- lines. For details on string arguments, see plot(5). Poly, fill, and the various spline functions take an integer array and an array of pointers to double floating point arrays. The integers specify the number of vertices (x-y pairs) in the floating point array. The last integer entry should be 0. SEE ALSO plot(1), plot(5) BUGS The -ltr library should be tuned for PostScript. PLOT(3)

Navigation Options