PLOT

Document Sample
scope of work template
							5.0 PLOT Command

     The PLOT command controls B34S line printer graphing and plotting
options. For high resolution graphics (available on PC) see HRGRAPHICS
option.

    The general form of the PLOT command is:

B34SEXEC PLOT options parameters$
     VAR variable1 variable2 $
     TITLE =('             ') $
     B34SEEND$

The VAR sentence is required.

PLOT options:

    GRAPH     -   Will make a X - Y plot of two variables on one page.
                       This option is the default.

    LPPLOT -      Will 'plot' up to 9 variables where each line
                       represents one observation

    CSCALE -      Used with LPPLOT option. Sets common scale for all
                       variables plotted. The default is an individual
                       scale.

PLOT parameters:

    IBEGIN=n1          Sets the beginning observation. Defaults to 1.

    IEND=n2            Sets end observation. Defaults to number of obs in
                       current dataset.

    CHARACTER =        Sets character for LPPLOT. If CHARACTER parameter
                       not supplied, defaults to 1 2 3 4 . Assume 4
                       variables. CHARACTER=(M,Y,Z,Q) sets plot characters
                       to M Y Z Q for first four series on the VAR command.

VAR sentence.

     The VAR sentence specifies the variables to use. If LPPLOT is set
as an option, the maximum number of variables in the VAR sentence is 9.
If GRAPH is set as an option, two variable names must be supplied in the
VAR sentence.

TITLE sentence.

    TITLE=('       ') $

     The TITLE sentence allows the user to specify a title. The length
of the title can be up to 80 characters long. It must not contain a
delimiter character ($) or the B34SEXEC or B34SEEND key words.

Examples of PLOT option.

B34SEXEC PLOT GRAPH$
     TITLE=('Graph of variable X against variable Y')   $
     VAR X Y$
  B34SEEND$
B34SEXEC PLOT LPPLOT CHARACTER=(X,Y)$
     TITLE=('Plot of variable X against Y')$
     VAR X Y$
  B34SSEEND$


Note: Most users prefer high resolution plots. The advantage of the
      PLOT command is the plots are in the output stream.

						
Related docs