BSD 4_3_Reno release
[unix-history] / usr / src / share / man / man3f / plot.3
CommitLineData
53e9b2ee
KM
1.\" Copyright (c) 1985 Regents of the University of California.
2.\" All rights reserved. The Berkeley software License Agreement
3.\" specifies the terms and conditions for redistribution.
4.\"
95f51977 5.\" @(#)plot.3f 6.3 (Berkeley) 4/30/86
53e9b2ee 6.\"
95f51977 7.TH PLOT 3F "April 30, 1986"
53e9b2ee
KM
8.UC 6
9.SH NAME
10plot: openpl et al. \- f77 library interface to \fIplot\fR (3X)
11libraries.
12.SH SYNOPSIS
13.nf
45264a44 14.B subroutine openpl()
53e9b2ee 15.PP
45264a44 16.B subroutine erase()
53e9b2ee 17.PP
45264a44 18.B subroutine label(str)
53e9b2ee
KM
19.B character str*(*)
20.PP
45264a44 21.B subroutine line(ix1, iy1, ix2, iy2)
53e9b2ee 22.PP
45264a44 23.B subroutine box(ix1, iy1, ix2, iy2)
8117213e
RE
24.fi
25Draw a rectangle and leave the cursor at (
26.IR ix2 , iy2 ).
27.nf
28.PP
45264a44 29.B subroutine circle(ix, iy, ir)
53e9b2ee
KM
30.PP
31.B
45264a44 32subroutine arc(ix, iy, ix0, iy0, ix1, iy1)
53e9b2ee 33.PP
45264a44 34.B subroutine move(ix, iy)
53e9b2ee 35.PP
45264a44 36.B subroutine cont(ix, iy)
53e9b2ee 37.PP
45264a44 38.B subroutine point(ix, iy)
53e9b2ee 39.PP
45264a44 40.B subroutine linemd(str)
53e9b2ee
KM
41.B character str*(*)
42.PP
45264a44 43.B subroutine space(ix0, iy0, ix1, iy1)
53e9b2ee 44.PP
45264a44 45.B subroutine clospl()
53e9b2ee
KM
46.fi
47.PP
48.ft R
49.SH DESCRIPTION
50These are interface subroutines, in the library
51.IR -lf77plot ,
52allowing
53.I f77
54users to call the
55.IR plot (3X)
56graphics routines
57which generate graphic output in a relatively
58device-independent manner.
59The
60.I f77
61subroutine names are the same as the
62.I C
63function names except that
8117213e
RE
64.I linemod
65and
66.I closepl
53e9b2ee 67have been shortened to
8117213e
RE
68.I linemd
69and
70.I clospl .
53e9b2ee
KM
71See
72.IR plot (5)
73and
74.IR plot (3X)
75for a description
76of their effect.
77.PP
78Only the first 255 character in string arguments to
79.I label
80and
81.I linemd
82are used.
83.PP
84This library must be specified in the
85.IR f77 (1)
86command before the device specific graphics library;
87for example, to compile and load a FORTRAN program in
88.I prog.f
89to run on a Tektronix 4014 terminal:
90.br
91.RS
53e9b2ee 92
8117213e 93.B f77 prog.f -lf77plot -l4014
53e9b2ee
KM
94
95.RE
96.br
97See
98.IR plot (3X)
99for a complete list of device specific plotting libraries.
100.SH "SEE ALSO"
101plot(5), plot(1G), plot(3X), graph(1G)