Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ graph(1) — AIX/RT 2.2.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

spline

tplot

graph

PURPOSE

     Draws a graph.

SYNOPSIS
     graph [ options ... ]


DESCRIPTION

     The graph  command reads  pairs of numbers  from standard
     input, where  each pair is the  x and y coordinates  of a
     point on a graph.  It  processes the data that allows the
     successive points to be  connected by straight lines when
     printed  and then  writes the  graph to  standard output.
     See "tplot" for information on how to code the output for
     printing.

     In the  input, non-numeric strings following  the coordi-
     nates of a point are  labels.  Labels begin on the point.
     Labels  can  be  surrounded with  """  (double  quotation
     marks), in which case they can be empty or contain blanks
     and numbers.  Labels cannot contain new-line characters.

     The graph command stores  all points internally and drops
     those for  which there is  not room.  It also  drops seg-
     ments that run out of bounds.  The graph command produces
     a legend  indicating grid  range with  a grid  unless you
     specify the -s flag.  If  a specified lower limit exceeds
     the upper limit, graph reverses the axis.  Note that log-
     arithmic axes cannot be reversed.

FLAGS

     -a [num [lolim]]
                  Supplies  abscissas missing  from the  input
                  automatically.   num determines  the spacing
                  on  the  axis  (the default  is  1).   lolim
                  determines the starting  point for automatic
                  abscissas  (the default  is 0  or the  lower
                  limit given by -x[lolim].
     -b           Breaks  the graph  after each  label in  the
                  input.
     -c  char     Uses  the  character   string  char  as  the
                  default label for each point.
     -g  grid     Uses grid as the  grid style, where grid = 0
                  indicates  no  grid,  grid = 1  indicates  a
                  frame  with tick  marks, and  grid = 2 indi-
                  cates a full grid (default).
     -h  space    Uses  space  as  a  fraction  of  space  for
                  height.
     -l  "label"  Uses label as a label for the graph.
     -m  style    Uses style as the style of connecting lines,
                  where style=0  indicates disconnected lines,
                  and   style=1   indicates  connected   lines
                  (default).
     -r  space    Uses space as the  fraction of space to move
                  to the right before plotting.
     -s           Saves the current graphic screen image, does
                  not erase before starting the plot.
     -t           Transposes  horizontal  and  vertical  axes.
                  (-x now applies to the vertical axis).
     -u  space    Uses space as the  fraction of space to move
                  up before plotting.
     -w  space    Uses space as a fraction of space for width.

     -x [l] [lolim [uplim [space]]]
                  Makes the  x axis logarithmic if  l is used.
                  Use  lolim as  the  lower x  axis limit  and
                  uplim as the upper  x axis limit.  Use space
                  for the  grid spacing  on x  axis.  Normally
                  these are determined automatically.
     -y  [l]  [lolim  [uplim  [space]]]
                  Acts the same as -x for the y axis.

RELATED INFORMATION

     The following commands:  "spline" and "tplot."

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026