Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ graph(1G) — A/UX 0.7

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

tplot(1G)



     graph(1G)                                               graph(1G)



     NAME
          graph - draw a graph

     SYNOPSIS
          graph [-a [sp] [st]] [-b] [-c label] [-g [style]]
          [-h hspace] [-l title] [-m [mode]] [-r rspace] [-s] [-t]
          [-u uspace] [-w wspace] [-x [l][a] [b] [c]]
          [-y [l][a] [b] [c]]

     DESCRIPTION
          graph with no flag options takes pairs of numbers from the
          standard input as abscissas and ordinates of a graph.
          Successive points are connected by straight lines.  The
          graph is encoded on the standard output for display by the
          tplot(1G) filters.

          If the coordinates of a point are followed by a non-numeric
          string, that string is printed as a label beginning on the
          point.  Labels may be surrounded with quotes ("), in which
          case they may be empty or contain blanks and numbers; labels
          never contain newlines.

          The following flag options are recognized, each as a
          separate argument:

          -a [sp] [st]
                    Supply abscissas automatically (they are missing
                    from the input); spacing is given by sp (default
                    1).  st is the starting point for automatic
                    abscissas (default 0 or the lower limit given by
                    -x).
          -b        Break (disconnect) the graph after each label in
                    the input.
          -c label  Character string given by label is the default
                    label for each point.
          -g [style]
                    style is grid style, where 0=no grid, 1=frame with
                    ticks, 2=full grid (default).
          -h hspace hspace is the fraction of the space for height.
          -l title  title is the label for the graph.
          -m [mode] mode is the mode (style) of connecting lines:
                    0=disconnected, 1=connected (default).  Some
                    devices give distinguishable line styles for other
                    small integers (e.g., the Tektronix 4014:
                    2=dotted, 3=dash-dot, 4=short-dash, 5=long-dash).
          -r rspace rspace is the fraction of the space to move right
                    before plotting.
          -s        Save screen, don't erase before plotting.
          -t        Transpose horizontal and vertical axes.
          -u uspace uspace is the fraction of the space to move up
                    before plotting.
          -w wspace wspace is the fraction of the space for width.



     Page 1                                        (last mod. 1/16/87)





     graph(1G)                                               graph(1G)



                    (-x now applies to the vertical axis.)
          -x [l] [a] [b] [c]
                    If l is present, x axis is logarithmic.  a (and b)
                    are lower (and upper) x limits.  c, if present, is
                    the grid spacing on the x axis.  Normally these
                    quantities are determined automatically.
          -y [l] [a] [b] [c]
                    Similarly for the yaxis.
          A legend indicating grid range is produced with a grid
          unless the -s flag option is present.  If a specified lower
          limit exceeds the upper limit, the axis is reversed.

     FILES
          /usr/bin/graph

     SEE ALSO
          tplot(1G).

     BUGS
          graph stores all points internally and drops those for which
          there isn't room.
          Segments that run out of bounds are dropped, not windowed.
          Logarithmic axes may not be reversed.
































     Page 2                                        (last mod. 1/16/87)



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