PLOT(1G) COMMAND REFERENCE PLOT(1G)
NAME
plot - plot an x-y graph
SYNOPSIS
plot [ -a ] [ -b ] [ -cchar(s) ] [ -d ] [ -Fvector ] [ -g ]
[ -m ] [ -rn ] [ -xn ] [ -xa ] [ -xin ] [ -xln ] [ -xhn ] [
-xnn ] [ -xt ] [ -yn ] [ -ya ] [ -yin ] [ -yln ] [ -yhn ] [
-ynn ] [ -yt ] [ vector ... ]
DESCRIPTION
Output is a GPS that describes an x-y graph. Input is one
or more vector(s). Y-axis values come from vector(s), x-
axis values from the -F option. Axis scales are determined
from the first vector(s) plotted. If no vector is given,
the standard input is assumed.
OPTIONS
-a Suppress axes.
-b Plot graph with bold weight lines, otherwise use medium.
-cstring
Use the characters of string for plotting characters,
implies option -m. The first character of string is
used to mark the first graph, the second is used to mark
the second graph, etc.
-d Do not connect plotted points, implies option -m.
-Fvector
Use vector for x-values, otherwise the positive integers
are used.
-g Suppress background grid.
-m Mark the plotted points.
-rn Put the graph in GPS region n, where n is between 1 and
25 inclusive.
-xn Position the graph in the GPS universe with x-origin at
n.
-xa Omit x-axis labels.
-xin
n is the x-axis tick increment.
-xln
n is the x-axis low tick value.
-xhn
Printed 10/17/86 1
PLOT(1G) COMMAND REFERENCE PLOT(1G)
n is the x-axis high tick value.
-xnn
n is the approximate number of ticks on the x-axis.
-xt Omit x-axis title.
-yn Position the graph in the GPS universe with y-origin at
n.
-ya Omit y-axis labels.
-yin
n is the y-axis tick increment.
-yln
n is the y-axis low tick value.
-yhn
n is the y-axis high tick value.
-ynn
n is the approximate number of ticks on the y-axis.
-yt Omit y-axis title.
EXAMPLES
The following example plots vector A against the positive
integers.
plot A
The following example plots vector B against vector A. Y-
axis ticks begin at 0, no x-axis labels are printed, and the
plot is placed in region 5 of the GPS universe.
plot -r5,yl0,xa,FA B
The following example plots vectors A and B against the
positive integers, with y-axis ticks going from the lowest
value in A and B to the highest value in A and B (see
hilo(1g)).
plot -`hilo -oy A B` A B
The following example plots vector C against A and vectors D
and E against B. Y-axis scale is determined from C, x-axis
from A.
Printed 10/17/86 2
PLOT(1G) COMMAND REFERENCE PLOT(1G)
plot -FA,FB C D E
CAVEATS
This plot is not the same as the plot package that is part
of 4.2 BSD UNIX (which is called tplot in System V UNIX).
SEE ALSO
abs(1g), af(1g), bar(1g), bel(1g), bucket(1g), ceil(1g),
cor(1g), cusum(1g), cvrtopt(1g), dtoc(1g), erase(1g),
exp(1g), floor(1g), gamma(1g), gas(1g), gd(1g), ged(1g),
graphics(1g), gtop(1g), hardcopy(1g), hilo(1g), hist(1g),
hpd(1g), intro(1g), label(1g), list(1g), log(1g), lreg(1g),
mean(1g), mod(1g), pair(1g), pd(1g), pie(1g), point(1g),
power(1g), prime(1g), prod(1g), ptog(1g), qsort(1g),
quit(1g), rand(1g), rank(1g), remcom(1g), root(1g),
round(1g), siline(1g), sin(1g), subset(1g), td(1g),
tekset(1g), title(1g), total(1g), ttoc(1g), var(1g),
vtoc(1g), whatis(1g), yoo(1g), and gps(5g).
Printed 10/17/86 3
%%index%%
na:72,60;
sy:132,704;
de:836,436;
op:1272,1206;2622,692;
ex:3314,843;4301,30;
ca:4331,256;
se:4587,1458;
%%index%%000000000138