>  Docs Center  >  Libraries  >  Motley  >  MGH_PLOT__DEFINE
Libraries

MGH_PLOT__DEFINE

MGH_PLOT__DEFINE

Class Name


  MGH_Plot

Purpose


  This class implements a line plot. It inherits from MGH_Window,
  adding code in the Init method to produce and IDLgrPlot object.

Object Creation Calling Sequence


  mgh_new, 'MGH_Plot', findgen(11)

Positional Parameters


  The Init method accepts up to 3 positional parameters. It passes
  them to the IDLgrPlot object.

Keyword Parameters


  The Init method accepts the following keyword parameters. All
  other keywords are passed to the Init method of the superclass
  (MGH_Window):
    FONT_PROPERTIES (input, structure)
      A structure containing keywords to be passed to the graph's
      default-font object.
    GRAPH_PROPERTIES (input, structure)
      A structure containing keywords to be passed to the graph.
    MASK_PROPERTIES (input, structure)
      A structure containing keywords to be passed to the graph's
      clipping mask.
    PLOT_PROPERTIES (input, structure)
      A structure containing keywords to be passed to the line plot.
    SYMBOL_PROPERTIES (input, structure)
      A structure containing keywords to be passed to the line
      plot's symbol. This keyword breaks the convention set by other
      *_PROPERTIES keywords in that a symbol is created *only* if
      the keyword is supplied.
    XAXIS_PROPERTIES (input, structure)
    YAXIS_PROPERTIES (input, structure)
      Structures containing keywords to be passed to the X/Y axis
    XRANGE (input, 2-element numeric vector)
    YRANGE (input, 2-element numeric vector)
      Default values are calculated from data (if any) passed to the
      line plot.
###########################################################################
  This software is provided subject to the following conditions:
  1. NIWA makes no representations or warranties regarding the
    accuracy of the software, the use to which the software may
    be put or the results to be obtained from the use of the
    software. Accordingly NIWA accepts no liability for any loss
    or damage (whether direct of indirect) incurred by any person
    through the use of or reliance on the software.
  2. NIWA is to be acknowledged as the original author of the
    software where the software is used or presented in any form.
###########################################################################

Modification History


  Mark Hadfield, 2000-08:
    Written.
  Mark Hadfield, 2002-06:
    Most of the functionality in the old MGH_Plot class has now been
    moved to the new MGH_Window class. The MGH_Plot class now
    inherits from MGH_Window and adds functionality in the Init
    method to draw a line-plot object.



© 2024 NV5 Geospatial Solutions, Inc. |  Legal
   Contact Us