MGHGRLEGEND__DEFINE Name
MGHgrLegend Purpose
This class inherits IDLgrLegend and adds a LOCATION property
(which specifies the .
It also applies different defaults for a few properties.
Category
Object graphics.
Properties
In addition to those properties supported by IDLgrLegend:
LOCATION (Init, Get, Set)
Location of bottom left corner in data units.
[X,Y,Z]COORD_CONV (Init, Get, Set)
The usual.
The following properties of IDLgrLegend have different default
values:
BORDER_GAP
Default 0.2
GAP
Default 0.2
GLYPH_WIDTH
Default 2.5
Example
See MGH_EXAMPLE_LEGEND.
###########################################################################
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, 1998-02:
Written.
Mark Hadfield, 2000-08:
Updated for IDL2 syntax. Cleared out a lot of extraneous
defaults from Init--were these originally put in to work
around bugs in an IDL beta?
Mark Hadfield, 2001-07:
Minor changes.
Mark Hadfield, 2003-05:
Various changes made in upgrading to IDL 6.0, including
setting default value of DEPTH_TEST_DISABLE to 1, so that
the legend will be drawn over other graphic objects.