home *** CD-ROM | disk | FTP | other *** search
/ Simtel MSDOS 1992 September / Simtel20_Sept92.cdr / msdos / plot / splot57.arc / SPLOT.DOC < prev    next >
Text File  |  1990-01-25  |  29KB  |  589 lines

  1.  
  2.                          SPLOT USER INSTRUCTIONS
  3.  
  4.      The program SPLOT (Screen PLOT) will plot two and three dimensional
  5.      data on the screen of an IBM compatible PC with CGA, EGA, VGA or
  6.      Hercules graphics.  The SPLOT program creates a plot by executing a
  7.      sequence of plot commands which can be typed at the keyboard, selected
  8.      from a menu or read from a command file.
  9.  
  10.      If the user types "SPLOT filename" at the DOS prompt the program SPLOT
  11.      will execute plot commands read from the text file "filename".  The
  12.      plot commands specify plot parameters such as type of axes.  Multiple
  13.      sets of data can be plotted on the same plot.  The sets of data can be
  14.      in the command file or in separate data files.  It is assumed that the
  15.      plot commands and data are stored as ASCII text by an editor, word
  16.      processor or a user written program that generates the plot commands
  17.      and/or data as output (as do the example Basic programs FUNGEN.BAS,
  18.      SURFGEN.BAS and CURVEGEN.BAS which generate data and commands to plot
  19.      user specified functions).
  20.  
  21.      If just "SPLOT" is typed at the DOS prompt then the plot commands
  22.      can be typed at the keyboard or selected from a menu.
  23.  
  24.      On most PCs the program will detect the type of installed graphics
  25.      card (CGA, EGA or Hercules) and use the highest resolution graphics
  26.      mode available with that card; EGA resolution is used with VGA
  27.      cards.  If a monitor used with an EGA card will only support CGA
  28.      resolution or if the program incorrectly detects the type of
  29.      graphics card then the card can be specified with the DOS command
  30.      "SET SPLOT=card" where "card" is "CGA", "EGA" or "HER".  For example,
  31.      the AT&T 6300 Display Enhancement Board is detected as being EGA but
  32.      it is not compatible with EGA; it is compatible with CGA.  To specify
  33.      that the SPLOT program use CGA mode on an AT&T with a DEB, type the
  34.      DOS command "SET SPLOT=CGA" before starting the program or place the
  35.      command in the AUTOEXEC.BAT file.
  36.  
  37.      The following plot commands specify the type of axes.  The x axis is
  38.      the horizontal axis and the y axis is the vertical axis; a
  39.      3-Dimensional plot will also have a z axis perpendicular to the x-y
  40.      plane.
  41.  
  42.      LINX            - Selects linear x axis (the default).
  43.      LOGX            - Selects log x axis.
  44.      PROBX           - Selects cumulative normal probability x axis.
  45.      LINY            - Selects linear y axis (the default).
  46.      LOGY            - Selects log y axis.
  47.      PROBY           - Selects cumulative normal probability y axis.
  48.      LINZ            - Selects linear z axis (the default) for 3-D plots.
  49.      LOGZ            - Selects log z axis.
  50.  
  51.      By default the program will automatically set the scales of the axes
  52.      based on the minimum and maximum data values.  The scales of the
  53.      axes can be set by the user with the following commands:
  54.  
  55.      XSTART value    - The x axis will start at "value".
  56.      XEND value      - The x axis will end at "value".
  57.      XSTEP value     - Linear x axis tic marks will be labeled
  58.                        in steps of "value".
  59.      YSTART value    - The y axis will start at "value".
  60.      YEND value      - The y axis will end at "value".
  61.      YSTEP value     - Linear y axis tic marks will be labeled
  62.                        in steps of "value".
  63.      ZSTART value    - The z axis on 3-D plots will start at "value".
  64.      ZEND value      - The z axis will end at "value".
  65.      ZSTEP value     - Linear z axis tic marks will be labeled
  66.                        in steps of "value".
  67.  
  68.      Automatic scaling of an axis can be re-enabled by setting the starting
  69.      and ending values equal to the same value, i.e., "XSTART 0" and "XEND
  70.      0".  If the step size is omitted from a linear axis then the program
  71.      will select a step size and adjust the starting and ending values to
  72.      match the step size.  The step size is ignored with a log axis.  A log
  73.      axis will cover a maximum of four decades and will always start and
  74.      end at decade boundaries.  Data plotted on a normal probability axis
  75.      must be in the range .0001 to .9999; the axis will be labeled using
  76.      the scaled range .01 to 99.99.
  77.  
  78.      The following commands specify other axes parameters:
  79.  
  80.      XGRID           - Grid lines will be drawn at labeled x axis tic marks.
  81.      YGRID           - Grid lines will be drawn at labeled y axis tic marks.
  82.      XGRID OFF       - Turns off display of x axis grid lines.
  83.      YGRID OFF       - Turns off display of y axis grid lines.
  84.      XTICS n         - Selects "n" minor x axis tic marks between labeled
  85.                        tic marks (default is 4).
  86.      YTICS n         - Selects "n" minor y axis tic marks between labeled
  87.                        tic marks (default is 4).
  88.      ZTICS n         - Selects "n" minor z axis tic marks between labeled
  89.                        tic marks (default is 4).
  90.  
  91.      The following commands are used to read the data:
  92.  
  93.      OPEN filename   - Opens data file "filename" for read.
  94.      READ n          - Reads "n" x y data points pairs.
  95.  
  96.      If no data file is opened then the data is read from the command file
  97.      starting at the line after the READ command.  Multiple READ commands
  98.      will result in multiple sets of data being plotted on the same plot.
  99.      There can be a maximum of 200 data sets and a maximum of 16000 data
  100.      points per data set; the number of data points per data set will also
  101.      be limited by the amount of available memory.  If "n" is zero or
  102.      omitted then data points will be read until the end of the data file
  103.      (or until a Ctrl-Z is read); a maximum of 1024 data points can be read
  104.      in this manner.  Successive data values must be separated by at least
  105.      one non-numeric character other than "+", "-", ".", "E" or "e".
  106.      Numbers can be in scientific notation with "E" or "e" preceding the
  107.      exponent.
  108.  
  109.      Data can also be read inwhich all of the x values precede all of the y
  110.      values:
  111.  
  112.      READX n         - Reads "n" x data values; must precede READY command.
  113.      READY n         - Reads "n" y data values; x = 1, 2, 3 ... if no READX.
  114.  
  115.      If multiple READY commands are used to read multiple data sets inwhich
  116.      corresponding y values are associated with the same x value then only
  117.      one READX command is required.  If a READY command is not preceded
  118.      by a READX (or READ) command then the y values will be plotted at even
  119.      intervals.
  120.  
  121.      Multiple sets of data can also be read when the data is arranged in
  122.      the form of a table:
  123.  
  124.      READTAB m n     - Reads "n" rows of table with columns x, y1, ..., ym.
  125.                        The x values must be in the first column and the
  126.                        corresponding y values of data set #1 to data set #m
  127.                        must be in the remaining "m" columns.
  128.      READTABY m n    - Reads "n" rows of table with columns y1, ..., ym.
  129.                        If the command is not preceded by a READX command
  130.                        then the y values will be plotted at even intervals.
  131.  
  132.      Multiple sets of data can be plotted on a 3-Dimensional plot inwhich
  133.      each data set corresponds to a point on the z axis:
  134.  
  135.      READZ n         - Reads "n" z data values for 3-D plots; one z value
  136.                        per data set.
  137.  
  138.      A single 3-Dimensional curve can be plotted inwhich the points on the
  139.      curve are the x-y points in data set #1 and the corresponding z values
  140.      read with the READZ command.  There can be a maximum 1024 points on
  141.      the 3-D curve.  A table of x y z data values can be read with the
  142.      following command:
  143.  
  144.      READXYZ n       - Reads "n" x y z values as single 3-D data set
  145.                        for plotting as a 3-D curve or 3-D scatter plot.
  146.      READZXY n       - Reads the 3-D data point values in the order z x y.
  147.  
  148.      The following are some more commands used in reading data:
  149.  
  150.      READBARX n      - Reads "n" character strings to be used as the x
  151.                        value labels on a bar graph.
  152.      SKIP n          - Skips "n" lines of the data file.
  153.      SEARCH text     - Reads from the data file until a line containing
  154.                        "text" is read.
  155.      CLOSE           - Closes the data file; opening a new data file will
  156.                        also close a previously opened data tile.
  157.  
  158.      The following commands will generate a curve fit of a data set:
  159.  
  160.      POLY m n        - Generates an mth degree polynomial least squares fit
  161.                        of data set #n.
  162.      EXP m n         - Generates an exponential of an mth degree polynomial
  163.                        least squares fit of data set #n, i.e.,
  164.                                 m         m-1
  165.                             Cm X  + Cm-1 X   + ... + C1 X + C0
  166.                        Y = e
  167.      AVG m n         - Generates a nonweighted moving average fit of data
  168.                        set #n using a moving window 2*m+1 data points wide.
  169.                        The data points must be equally space.
  170.  
  171.      If "m" is omitted then it defaults to one; a polynomial fit's degree
  172.      can not be greater than 10.  If "n" is omitted it defaults to the last
  173.      read data set.  The generated data is stored as a new data set.  If
  174.      the POLY or EXP command is used again to fit the same data set with a
  175.      different degree polynomial or the AVG command is used again with a
  176.      different window size then the new fit will overwrite the old one.
  177.  
  178.      KEEP            - Keeps the last generated fit from being overwritten
  179.                        by a new one.
  180.      OUTPOLY file    - Outputs the last generated polynomial's coefficients
  181.                        to the specified file; if the file is omitted then
  182.                        the output will be to the screen.
  183.  
  184.      Multiple sets of plotted data that correspond to different orders of
  185.      magnitude or different ranges can be compared by using the following
  186.      commands:
  187.  
  188.      SCALEX value n  - Multiplies the x values in data set #n by "value".
  189.      OFFSETX value n - Adds "value" to the x values of data set #n.
  190.      SCALEY value n  - Multiplies the y values in data set #n by "value".
  191.      OFFSETY value n - Adds "value" to the y values in data set #n.
  192.  
  193.      If "n" is omitted from any of the above commands then it defaults to
  194.      all data sets; this feature can be used to scale the data to keep
  195.      scientific notation from being used in axes tic mark labels.
  196.  
  197.      The following commands select the type of 2-D plot for each data set:
  198.  
  199.      LINE n          - Selects a line plot (the default) of data set #n
  200.                        inwhich successive data points are connected by
  201.                        straight lines.
  202.      SPLINE n        - Selects a natural cubic spline plot of data set #n
  203.                        inwhich successive data points are connected by a
  204.                        smooth curve.
  205.      CURVE n         - Selects a smooth curve plot of data set #n using a
  206.                        proprietary method that does not oscillate as much
  207.                        as a spline curve.
  208.      SYMBOLS n       - Specifies that symbols (small squares) are to be
  209.                        drawn at the data points of data set #n along with
  210.                        the connecting lines or curve.
  211.      SCATTER n       - Selects a scatter plot of data set #n with just the
  212.                        symbols for the data points and without the
  213.                        connecting lines or curve.
  214.      SPIKES n        - Specifies that vertical spikes are to be drawn to the
  215.                        data points of data set #n along with the connecting
  216.                        lines or curve.
  217.      HISTOGRAM n     - Selects a histogram of data set #n with the data
  218.                        points represented by vertical spikes and without the
  219.                        connecting lines or curve.
  220.      STEP n          - Selects a step plot of data set #n with successive
  221.                        data points connected by horizontal steps.
  222.  
  223.      If "n" is omitted from any of the above commands then the command
  224.      applies to all data sets.  In order to make a spline or curve plot the x
  225.      values must be in ascending order.
  226.  
  227.      Each set of data is plotted in a different color with EGA/VGA graphics;
  228.      dash lines are used with CGA and Hercules graphics.
  229.  
  230.      COLOR m         - Specifies that color index "m" be used for drawing
  231.                        axes and labels with EGA/VGA graphics.
  232.      DATACOLOR m n   - Specifies that color index "m" be used for plotting
  233.                        data set #n with EGA/VGA graphics.  Colors can be
  234.                        specified only for the first 10 data sets; these
  235.                        colors will be repeated if more than 10 data sets are
  236.                        plotted.
  237.      DASH ON         - Enables dashed lines (default for CGA & Hercules).
  238.      DASH OFF        - Disables dashed lines (default for EGA/VGA).
  239.  
  240.      The following commands are used to specify a title, axes labels and
  241.      data set legends:
  242.  
  243.      XLABEL text     -  The character string "text" will be printed below
  244.                         the x-axis.
  245.      YLABEL text     -  The character string "text" will be printed to the
  246.                         left of the y-axis.
  247.      ZLABEL text     -  The character string "text" will be printed to the
  248.                         right of the z-axis on 3-D plots.
  249.      TITLE text      -  The character string "text" will be printed above
  250.                         the plot.
  251.      LEGENDn x y text - The legend "text" associated with data set #n will
  252.                         be printed at coordinate (x,y).
  253.  
  254.      The LEGENDn coordinate (x,y) is the coordinate of the lower left corner
  255.      of the first character in the text.  The coordinate values are specified
  256.      as fractions of axis length and must be between 0. and 1., i.e, (0.,0.)
  257.      is at the origin, (1.,0.) is at the end of the x-axis and (0.,1.) is at
  258.      the top of the y-axis.  LEGEND1, LEGEND2, ..., LEGEND9 are associated
  259.      with data sets 1 to 9, respectively, and LEGEND0 is associated with
  260.      data set 10; only the first 10 data sets can be given a legend.  The
  261.      legends are displayed using the same colors used to plot the
  262.      corresponding data sets with EGA graphics.  Legends are printed on 2-D
  263.      plots only.
  264.  
  265.      Rather than use the LEGENDn command, an easier way to display a
  266.      legend for data set #n is to manually place the legend on the plot.
  267.      After the plot is drawn:
  268.  
  269.        (1) Press function key Fn.
  270.        (2) Move the cursor to the desired position on the screen.
  271.        (3) Type the text of the legend.
  272.        (4) Press the ENTER key.
  273.  
  274.      The cursor appears after a function key has been pressed; it disappears
  275.      after the ENTER key has been pressed.  The arrow keys will move the
  276.      cursor in pixel increments; the HOME and END keys will move the cursor
  277.      left and right in character increments and the PgUp and and PgDn keys
  278.      will move the cursor up and down in character increments.  If the plot
  279.      is saved with the SAVE command (described below) then the legends
  280.      entered on the screen will be saved as LEGENDn commands.  If just one
  281.      function key is used to enter more than one legend then only the last
  282.      one entered is saved.  Note that the legend coordinates are screen
  283.      coordinates; the legends are not repositioned if the origin or axes
  284.      scales are changed.  Legends can be temporarily disabled or cleared
  285.      with the following commands:
  286.  
  287.      LEGENDS OFF     - Disables display of legends.
  288.      LEGENDS ON      - Enables display of legends.
  289.      LEGENDS CLR     - Clears all legends.
  290.  
  291.      A 2-Dimensional plot will be made when the end of the command file is
  292.      reached or the following command is read:
  293.  
  294.      PLOT            - Makes a 2-Dimensional plot.
  295.  
  296.      IMPORTANT NOTE: The plot will be cleared from the screen
  297.                      when the ESC key is pressed.
  298.  
  299.      A 3-Dimensional plot will be made when one of the following commands is
  300.      read:
  301.  
  302.      PLOT3D          - Makes a 3-Dimensional plot of multiple x-y data sets
  303.                        with the z axis a parameter axis.
  304.      PLOT3D SURFACE  - Makes a 3-Dimensional plot of multiple x-y data sets
  305.                        representing curves on a surface y = f(x,z).
  306.      PLOT3D CURVE    - Makes a plot of a 3-Dimensional curve.
  307.      PLOT3D SCATTER  - Makes a 3-Dimensional scatter plot.
  308.  
  309.      Each x-y data set will correspond to a point on the z axis.  If z
  310.      values were read with the READZ command then the kth x-y data set will
  311.      correspond to the kth z value.  The z values must be in ascending
  312.      order.  If no z values were read then the x-y data sets will be plotted
  313.      at even intervals along the z axis.  With a normal 3-D plot the data
  314.      sets are plotted in different colors.   With a surface 3-D plot all
  315.      data sets are plotted with the same color using a different hidden line
  316.      algorithm that allows the bottom of the surface to be visible as well
  317.      as the top.
  318.  
  319.      With a surface 3-D plot each data set is assumed to contain the points
  320.      of a curve on the surface that corresponds to a constant value of z,
  321.      i.e., Y = f(X,Zk) where Zk is the value of z that corresponds to the
  322.      kth data set containing the x and y values.  If all data sets contain
  323.      the same sequence of x values then the easiest way of reading the
  324.      points on the surface is to use a READZ command and a READTAB command:
  325.  
  326.       READZ m
  327.          Z1  Z2 ...  Zm
  328.       READTAB m n
  329.       X1 Y11 Y12 ... Y1m
  330.       X2 Y21 Y22 ... Y2m
  331.       .              .
  332.       :              :
  333.       Xn Yn1 Yn2 ... Ynm
  334.  
  335.      A 3-D curve is plotted as as sequence of (x,y,z) values inwhich the x-y
  336.      values were read as data set #1 using the READ command and the z values
  337.      were read using the READZ command.  The (x,y,z) values can also be read
  338.      using the READXYZ command (or the READZXY command).
  339.  
  340.      If a group of (x,y,z) values contained in data set #1 and z is plotted
  341.      as a 3-Dimensional scatter plot then a symbol is drawn at each data
  342.      point along with a vertical line connecting the symbol to the xz
  343.      plane.
  344.  
  345.      A different view of the a 3-D plot can be specified with the following
  346.      command:
  347.  
  348.      ROTATE          - Next 3-D plot will be rotated 90 degrees.
  349.      ROTATE OFF      - Next 3-D plot will be displayed using the normal
  350.                        view.
  351.  
  352.      Equally spaced y data values can be plotted as a bar graph with the
  353.      following command:
  354.  
  355.      BAR             - Makes a bar graph of equally spaced y data values.
  356.  
  357.      If multiple sets of data are to be plotted as a bar graph then all of
  358.      the data sets must have the same number of data points.  A maximum of
  359.      25 data points can be plotted as a bar graph.  If no character strings
  360.      were read with the READBARX command as the x value labels then the
  361.      x-axis is labeled using the values specified by the "XSTART" and
  362.      "XSTEP" commands; if the the XSTEP value is zero then the x-axis is
  363.      labeled as 1, 2, 3, ...
  364.  
  365.      If just "SPLOT" is typed at the DOS prompt then the plot commands and
  366.      data can be entered at the keyboard.  The following commands are
  367.      useful when commands are entered interactively at the keyboard:
  368.  
  369.      HELP            - Displays a summary of the plot commands.
  370.      MENU            - Allows plot commands to be selected from a menu.
  371.      CLRDATA n       - Clears data set #n; clears all data sets if "n" is
  372.                        omitted.
  373.      CLRPLOT         - Resets all plot parameters to their default values.
  374.      SHOW            - Displays the current status of plot parameters.
  375.      DO filename     - Executes the plot commands in file "filename".
  376.      SAVE filename   - Saves the data and plot commands to the file
  377.                        "filename".  If the filename is omitted then it
  378.                        defaults to "SAVE.PLT". If the file already exists it
  379.                        is overwritten.
  380.      DOS command     - Executes the specified DOS command; a copy of
  381.                        COMMAND.COM must be accessible by the system.
  382.      EDIT n            Invokes a user supplied editor to edit data set #n.
  383.                        Before starting the SPLOT program, the name of the
  384.                        editor must be specified with the DOS command "SET
  385.                        SPEDIT=editor".  For example, "SET SPEDIT=EDLIN"
  386.                        specifies that the DOS EDLIN editor will be used; a
  387.                        path to the editor must also be specified.  The EDIT
  388.                        command will write data set #n to the temporary file
  389.                        SPLOTDAT.TMP in the default directory then invoke the
  390.                        specified editor to edit the file.  After the editor
  391.                        terminates, the SPLOT program reads the data back in
  392.                        from the file then deletes the file SPLOTDAT.TMP and
  393.                        the file SPLOTDAT.BAK.  The edited data set must not
  394.                        contain more than 100 additional data points.
  395.      QUIT            - Terminates the program.
  396.  
  397.      Keyboard input of commands can be particularly useful when doing a
  398.      polynomial curve fit and it is not known what degree will give the
  399.      best fit. When entered from the keyboard, the POLY command will
  400.      display a statistic, the residual variance. First try a first degree
  401.      fit with the command "POLY 1" and note the residual variance. Then
  402.      try a second degree fit with the command "POLY 2" and again note the
  403.      residual variance. Then try a third degree fit, etc. When a degree is
  404.      reached inwhich the residual variance did not change by much from the
  405.      previous value then the previous degree is the degree that should be
  406.      used.
  407.  
  408.      The DOS memory resident program GRAPHICS will dump a plot to an IBM
  409.      compatible dot matrix printer when the Shift and PrtSc keys are
  410.      simultaneously pressed; the program must have been previously
  411.      installed with the DOS command "GRAPHICS". The GRAPHICS program
  412.      draws the plot sideways and some versions will not work with EGA or
  413.      Hercules graphics. The memory resident program PLOTDUMP draws the
  414.      plot right side up and will work with CGA, EGA or Hercules graphics.
  415.      It is installed with the command "PLOTDUMP" and is invoked by
  416.      simultaneously pressing the Ctrl and PrtSc keys.  If plot dumps are
  417.      made often then the PLOTDUMP command should be placed in the
  418.      AUTOEXEC.BAT file (the file PLOTDUMP.COM must be in the root
  419.      directory or a path must be specified to the directory containing
  420.      the file).
  421.  
  422.      PLEASE NOTE: In order to dump a plot to a printer the PLOTDUMP
  423.      program must be installed in memory before making the plot.
  424.  
  425.                                EXAMPLES
  426.  
  427.      Suppose the file EXAMPLE.PLT contains the following commands:
  428.  
  429.      title Example Plot
  430.      xlabel This is the x axis
  431.      ylabel This is the y axis
  432.      xstart 5
  433.      xend 15
  434.      xstep 2.5
  435.      ygrid
  436.      open data2.dat
  437.      read 16
  438.      read
  439.      open data1.dat
  440.      read
  441.      close
  442.      read 12
  443.      6  178    7 193   7.5 212    8 243    8.5 365   9.5 185
  444.      10  72   12  43  12.5 150   13 240   13.5 30    14  85
  445.      symbols 3
  446.      symbols 4
  447.      plot
  448.  
  449.      And suppose data file DATA2.DAT contains:
  450.  
  451.        5   30     6   40    7  70    8    120
  452.        9  250    9.5 450   10 800   10.25 900
  453.      10.5 950  10.75 880   11 700   11.5  290
  454.      12   150    13   80   14  50    15    40
  455.  
  456.       5  980    6 980     7  980   8  950    8.5 900    9 800
  457.      9.5 500   10 400   10.5 300   11 250   11.5 220   12 200
  458.      13  200   14 200     15 200
  459.  
  460.      And suppose data file DATA1.DAT contains:
  461.  
  462.      4 50   6 75   8 125   10 275   12 575   14 950
  463.  
  464.      A plot will be displayed by typing "SPLOT EXAMPLE.PLT" at the DOS
  465.      prompt. The x and y axes will be labeled and the plot will be titled.
  466.      The x-axis will be linear by default and will range from 5 to 15 and
  467.      be labeled in increments of 2.5. By default the program SPLOT will
  468.      set the scale of the y-axis which will also be linear. Horizonal grid
  469.      lines will be drawn. Four sets of data will be plotted. The first set
  470.      of data will consist of 16 data points read from file data2.dat. The
  471.      second set of data will be all of the remaining data in file
  472.      data2.dat. The third set of data will be read from file data1.dat.
  473.      The fourth set of data will be the 12 data points in the command
  474.      file. All four sets of data will be plotted as line plots. Symbols
  475.      will be drawn at the data points in the third and fourth sets of
  476.      data.
  477.  
  478.      The data in the following command file will be plotted at even
  479.      intervals as a histogram using a log Y-axis:
  480.  
  481.      title Example Log & Histogram Plot
  482.      xlabel X
  483.      ylabel Y
  484.      logy
  485.      histogram
  486.      ready 24
  487.      2.1  2.9  3.3  3.8  4.6  6.2  8.3  12.4  17.1  29.3  53.7  75.4
  488.      92.1 62.3  25.4  15.2  11.2  7.4  5.9  4.1  3.6  2.8  2.3  1.95
  489.      plot
  490.  
  491.      The following commands will produce a third degree polynomial curve
  492.      fit:
  493.  
  494.      title Third Degree Polynomial Curve Fit
  495.      xlabel X
  496.      ylabel Y
  497.      read 10
  498.      .5  3     1.5  7    2.5  12.5   5.5 14.5   6.5 16
  499.      9.5 14.5  10.5 16   12.5 16    14.5 21    15.5 23
  500.      poly 3
  501.      plot
  502.  
  503.      The following commands will produce a bar graph:
  504.  
  505.      title Bar Graph Demo
  506.      xlabel Season
  507.      ylabel Number
  508.      readbarx 4
  509.      Winter Spring Summer Fall
  510.      ready 4
  511.      24 42 78 88
  512.      ready 4
  513.      28 35 65 72
  514.      ready 4
  515.      58 63 72 70
  516.      ready 4
  517.      80 83 72 53
  518.      bar
  519.  
  520.  
  521.               SPLOT SOFTWARE, VERSION 5, LICENSE AGREEMENT
  522.  
  523.      The SPLOT software (programs SPLOT, HPLOT and PLOTDUMP and all
  524.      documentation and examples) is copyrighted by the author.  If you find
  525.      the SPLOT software useful please send payment of $20.00 to the author:
  526.  
  527.                            William G. Hood
  528.                            711 Mitchell
  529.                            Conway, AR 72032 (USA)
  530.  
  531.      The SPLOT software is protected by copyright law; it is not public
  532.      domain.  You are granted a limited license to have possession of an
  533.      unpaid for copy of the SPLOT software for the purpose of evaluation of
  534.      the software and a license to make and freely give away unmodified
  535.      copies for the purpose of evaluation of the software by others.  The
  536.      software may not be sold, separately or in conjunction with any other
  537.      software or hardware, without written permission of the author; a
  538.      reasonable (under $10) media and handling fee may be charged for
  539.      diskettes or other media containing the software or for access to the
  540.      software on bulletin boards.
  541.  
  542.      Actual use of the SPLOT software, other than for reasonable evaluation
  543.      purposes, without payment of $20.00 to the author is a copyright
  544.      violation.  Payment of $20.00 entitles a single user to use the SPLOT
  545.      software.
  546.  
  547.      Those who have previously paid for the right to use version 3 or
  548.      version 4 of the SPLOT software can purchase the right to use version 5
  549.      for $10.00.
  550.  
  551.      The software is provided "AS IS" without warranty of any kind, either
  552.      expressed or implied.
  553.  
  554. --------------------------------------------------------------------------------
  555.  
  556.      If you find the SPLOT software useful please send payment to
  557.  
  558.                          William G. Hood
  559.                          711 Mitchell
  560.                          Conway, AR 72032 (USA)
  561.  
  562.    [ ]  Payment by check of ________ for a license for ____ (1 to 9) users
  563.         to use the SPLOT software @ $20.00 / user ($10.00 / user if you have
  564.         previously paid for use of version 3 or 4).
  565.  
  566.    [ ]  Payment by check of ________ for a license for ____ (10 to 24) users
  567.         to use the SPLOT software @ $15.00 / user.
  568.  
  569.    [ ]  Payment by check of ________ for a license for ____ (25 to 49) users
  570.         to use the SPLOT software @ $10.00 / user.
  571.  
  572.    [ ]  Payment by check of $500.00 for a license for an unlimited number
  573.         of users of the SPLOT software (within a single organization).
  574.  
  575.  
  576.    Name:    ___________________________________________________________
  577.  
  578.    Company: ___________________________________________________________
  579.  
  580.    Address: ___________________________________________________________
  581.  
  582.             ___________________________________________________________
  583.  
  584.             ___________________________________________________________
  585.  
  586.  
  587.    Phone:   ___________________________
  588.  
  589.