>  Docs Center  >  Libraries  >  Motley  >  MGH_SURFACE__DEFINE
Libraries

MGH_SURFACE__DEFINE

MGH_SURFACE__DEFINE

Class Name


  MGH_Surface

Purpose


  This class displays a 2-D numeric array as a surface plot in a window,
  with axes and a colour scale.

Object Creation Calling Sequence


  mgh_new, 'MGH_Surface', values[, x, y]

Inputs


  values (input, numeric 2-D)
    Data to be plotted
  x, y (input, optional, numeric 1-D or 2-D)
    Surface X & Y data

Properties


  The following properties are supported (amongst others):
    DATA_RANGE (Init,Get,*Set)
      The range of data values to be mapped onto the indexed color
      range for the density surface and the colour bar. Data values
      outside the range are mapped to the nearest end of the
      range. If not specified, DATA_RANGE is calculated when the
      density surface is created.
###########################################################################
  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-12
    Written.



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