GRAPH

legend

 If LEGEND is OFF and the legendtext parameter is entered, it is ignored.
 If LEGEND is ON, the legendtext parameter must be entered, and will be
 the legend entry for that data curve. See the LEGEND command for more
 information.

plotting_symbol

 See the SET PCHAR command for information on how to set the plotting symbol
 type, size, colour, and angle; as well as how to set fill patterns,
 colours, and relative bar size for histograms.

autoscaling

 Autoscaling of the axes may apply if the two parameters, x and y, are
 entered. See the AUTOSCALE command for information on how to set up
 autoscaling for the axes.

axes_and_data

 By default, if the GRAPH command is entered with neither the \AXES nor
 the \NOAXES qualifiers, axes will be drawn as well as the data curve or
 histogram.  Autoscaling will apply if it is on. The data curve or
 histogram will be clipped at the axis boundaries. For example:

 GRAPH X Y               ! plots axes and data
 GRAPH\HISTOGRAM X Y     ! plots axes and histogram

AXESONLY

 If the GRAPH\AXESONLY command is entered with no parameters, autoscaling
 does not apply. The minima, maxima, and number of increments will be
 the same as the last set of axes drawn. The axes scales can be set up
 before entering this command, using the SCALES command.  Autoscaling
 may apply if two parameters, x and y, are entered. For example:

 AUTOSCALE ON             ! turns on axis autoscaling
 GRAPH\AXES X Y           ! plots axes only autoscaled to X and Y
 SCALES -5 5 0 10 20 0    ! set the axis scales
 GRAPH\AXES               ! plots the axes with predefined scales

NOAXES

 The GRAPH\NOAXES command draws either data curves or histograms, but
 does not draw axes.  Autoscaling will not apply. The GRAPH\NOAXES
 command overlays on an existing set of axes.  The data curve or
 histogram will be clipped at the axis boundaries. For example:

 GRAPH\NOAXES X Y          ! overlay data on the current axes
 GRAPH\HISTO\NOAX X Y      ! overlay histogram on current axes

Additional Information on:

  • legend
  • REPLOT

     By default, the graph will be stored for replotting. If the \NOREPLOT
     qualifier is used, the graph will not be stored for replotting.
     See the REPLOT command for more information.
    

    Additional Information on:

  • example
  • histograms

     It is possible to draw four types of histograms using the SET HISTYP
     approach, or you can use the \HISTOGRAM qualifier to plot a histogram
     with tails to y=0 and profile along the x-axis. For example:
    
      GRAPH\HISTOGRAM X Y         ! plot histogram with axes
      GRAPH\HIST\NOAXES X Y       ! overlay histogram on current axes
    
     The \HISTOGRAM qualifier has no meaning with the \AXESONLY qualifier.
    

    Additional Information on:

  • HISTYP
  • filling
  • POLAR

     If the \POLAR qualifier qualifier is used, x and y are assumed to
     represent polar coordinates where x contains the radial components
     and y contains the angular components, in degrees.  The polar
     coordinates are transformed to rectangular coordinates before
     plotting, but the variables x and y are left unchanged.
    

    error_bars

     Syntax: GRAPH { `legendtext' } x y { ye1 { xe1 { ye2 { xe2 }}}}
    
     The optional variables ye1, xe1, ye2, and xe2 are interpreted as errors
     for drawing error bars. 
    

    Additional Information on:

  • symmetric
  • asymmetric
  • error_bar_shape
  • filling

     To fill the area under a curve, use the SET LINTYP command.  See also
     the histogram subtopic, for specifics on filled histograms.
     If 101 <= LINTYP <= 110, then the hatch pattern LINTYP-100 is
     chosen. If 211 <= LINTYP <= 299, then the dot fill pattern LINTYP-200
     is chosen. The polygonal region defined by the (x,y) coordinate pairs,
     with the last point connected to the first, will be filled with the
     chosen hatch or dot pattern.
    

    Additional Information on:

  • hatch_patterns
  • dot_patterns