PLOT(1g,C) AIX Commands Reference PLOT(1g,C)
-------------------------------------------------------------------------------
plot
PURPOSE
Plots a graph.
SYNTAX
+--------+ +----------+ +-------------+ +------------+
plot ---| +----+ |---| |---| +---------+ |---| |
+-| -a |-+ +- string -+ +-| -d |-+ +--- file ---+
^| -b || ^| -f || ^ |
|| -c || || -Fxfile || +--------+
|+----+| |+---------+|
+------+ +-----------+
DESCRIPTION
The plot command plots a graph. The input vectors contain the y values of an
x-y graph. Values for the x-axis come from the file specified by -F. Axis
scales are determined from the first vector plotted.
FLAGS
-a Suppresses the axes.
-b Plots the graph with bold weight lines (medium is the default weight).
-d Does not connect plotted points (this implies -m)
-f Does not build a frame around the plot area.
-Fxfile
Uses the specified file for x values; otherwise the positive integers
are used. You can specify this flag more than once, causing a different
set of x values to be paired with each input vector. If there are more
input vectors than sets of x values, the last set applies to the
remaining vectors.
-g Suppresses the background grid.
-m Marks the plotted points.
-ri Puts the graph in GPS region i, where i is between 1 and 25 inclusive
(13 by default).
Processed November 8, 1990 PLOT(1g,C) 1
PLOT(1g,C) AIX Commands Reference PLOT(1g,C)
-xf -yf
Positions the graph in the GPS universe with the x-origin (y-origin) at
f.
-xa -ya
Does not label the x-axis (y-axis).
-xhf -yhf
Specifies the x-axis (y-axis) high boundary.
-xlf -ylf
Specifies the x-axis (y-axis) low boundary.
-xni -yni
Specifies the approximate number of ticks on the x-axis (y-axis).
-xt -yt
Omits the x-axis (y-axis) title.
EXAMPLES
1. To plot against the positive integers:
plot plotdata
2. To customize x- and y-axes:
plot -r5,y10,xa,Fxfile yfile
This plots vector "yfile" against vector "xfile", with y-axis ticks
beginning at zero, no x-axis labels being printed, and the plot being
placed in region 5 of the GPS universe.
3.
plot -hilo -oy filea fileb filea fileb
This plots vectors "filea" and "fileb" against the positive integers, with
y-axis ticks going from the lowest to the highest values in the two
vectors.
4.
plot -Ffilea,Ffileb filec filed filee
This plots vectors "filec" against "filea"; "filed" and "filee" against
"fileb". The y-axis scale is determined from "filec"; the x-axis scale
from "filea".
Processed November 8, 1990 PLOT(1g,C) 2