IDLgrPlot objects have the following properties in addition to properties inherited from any superclasses. Properties with the word "Yes" in the "Get" column of the property table can be retrieved via IDLgrPlot::GetProperty. Properties with the word "Yes" in the "Init" column of the property table can be set via IDLgrPlot::Init. Properties with the word "Yes" in the "Set" column in the property table can be set via IDLgrPlot::SetProperty.
| Note |
An anonymous structure containing the values of all of the properties associated with the state of this object. State information about the object includes things like color, range, tick direction, etc., but not image, vertex, or connectivity data, or user values.
| Note |
A floating-point value in the range [0.0, 1.0] to specify the opacity of the plot. The default value of 1.0 causes IDL to draw the plot completely opaque. If the value of this property is less than 1.0, then the pixels of the plot are blended with the pixels already on the screen, where the color of the plot is multiplied by the alpha value and the pixels already on the screen are multiplied by 1.0-alpha. Because an object can only be blended with objects already drawn on the screen, the drawing order of the objects must be considered carefully in order to obtain the desired results.
This property has no effect on devices using indexed color mode. If 3-channel (RGB) VERT_COLORS are supplied, then the value of this property is used for the alpha at each vertex when drawing the plot line. If 4-channel (RGBA) VERT_COLORS are supplied, then the alpha from each vertex color is used for the alpha at each vertex when drawing the plot line.
When a plot is drawn with symbols, the symbol's color and alpha values are always used to draw the symbols unless VERT_COLORS are supplied. If the VERT_COLORS are RGB, then the alpha value of the symbol is used to draw the symbol. If the VERT_COLORS are RGBA, then the alpha from the vertex color is used to draw the symbol.
| Note |
|
Property Type
|
Float-point value
|
||
|
Name String
|
Transparency
|
||
|
Get: Yes
|
Set: Yes
|
Init: Yes
|
Registered: Yes
|
A 4-by-N floating-point array that specifies the coefficients of the clipping planes to be applied to this object. The four coefficients for each clipping plane are of the form [A, B, C, D], where Ax + By + Cz + D = 0. Portions of this object that fall in the half space Ax + By + Cz + D > 0 will be clipped. By default, the value of this property is a scalar (-1) indicating that no clipping planes are to be applied.
| Note |
| Note |
| Note |
|
Property Type
|
Floating-point array
|
||
|
Name String
|
not displayed
|
||
|
Get: Yes
|
Set: Yes
|
Init: Yes
|
Registered: No
|
The color to be used as the foreground color for this plot. The color may be specified as a color lookup table index or as a three-element vector [red, green, blue]. The default is [0, 0, 0].
In a property sheet, this property appears as a color property.
The plot data of any type in a 3 x n array, [DataX, DataY, DataZ].
A vector of any type that specifies the X values to be plotted. This property is the same as the X argument.
|
Property Type
|
Vector of any type
|
||
|
Name String
|
not displayed
|
||
|
Get: No
|
Set: Yes
|
Init: Yes
|
Registered: No
|
A vector of any type that specifies the Y values to be plotted. This property is the same as the Y argument.
|
Property Type
|
Vector of any type
|
||
|
Name String
|
not displayed
|
||
|
Get: No
|
Set: Yes
|
Init: Yes
|
Registered: No
|
An integer value that determines whether depth testing is disabled.
Disabling depth testing allows an object to draw itself on top of other objects already on the screen, even if the object is located behind them.
This property is registered as an enumerated list, but it is hidden by default.
An integer value that determines the depth test function. Set this property to 0 (the default) to inherit the value set by the parent model or view. The parent view always sets a depth test function of LESS. A model may also set a depth test function value. The graphics device compares the object's depth at a particular pixel location with the depth stored in the depth buffer at that same pixel location. If the comparison test passes, the object's pixel is drawn at that location on the screen and the depth buffer is updated (if depth writing is enabled).
Set this property to any of the following values to use the desired function while rendering this object.
Less means closer to the viewer.
This property is registered as an enumerated list, but it is hidden by default.
An integer value that determines whether depth writing is disabled.
Disabling depth writing allows an object to be overdrawn by other objects, even if the object is located in front of them.
This property is registered as an enumerated list, but it is hidden by default.
A Boolean value that indicates whether data provided by any of the input arguments will be stored in this object as using double-precision floating-point format.
Setting this property may be desirable if the data consists of large integers that cannot be accurately represented in single-precision floating-point arithmetic. This property is also automatically set to 1 if any of the input arguments are stored using a variable of type DOUBLE.
A Boolean value that indicates whether this object should be drawn:
In a property sheet, this property appears as an enumerated list with the following options:
A Boolean value that determines whether to use only horizontal and vertical lines to connect the plotted points.
An integer value that indicates the line style to be used to draw the plot lines. The value can be either an integer value specifying a pre-defined line style, or a two-element vector specifying a stippling pattern.
To use a pre-defined line style, set the LINESTYLE property equal to one of the following integer values:
To define your own stippling pattern, specify a two-element vector [repeat, bitmask], where repeat indicates the number of times consecutive runs of 1's or 0's in the bitmask should be repeated. (That is, if three consecutive 0's appear in the bitmask and the value of repeat is 2, then the line that is drawn will have six consecutive bits turned off.) The value of repeat must be in the range 1 £ repeat £ 255.
The bitmask indicates which pixels are drawn and which are not along the length of the line. Bitmask is most conveniently specified as a 16-bit hexadecimal value.
For example, LINESTYLE = [2, 'F0F0'X] describes a dashed line (8 bits on, 8 bits off, 8 bits on, 8 bits off).
In a property sheet, this property appears as follows:
A double-precision floating-point value that determines the maximum value to be plotted. When this property is set, data values greater than the value of MAX_VALUE are treated as missing data and are not plotted. Note that the IEEE floating-point value NaN is also treated as missing data. IDL converts, maintains, and returns this data as double-precision floating-point.
A double-precision floating-point value that determines the minimum value to be plotted. If this property is present, data values less than the value of MIN_VALUE are treated as missing data and are not plotted. Note that the IEEE floating-point value NaN is also treated as missing data. IDL converts, maintains, and returns this data as double-precision floating-point.
An integer value representing the number of data points to average when plotting. If NSUM is larger than 1, every group of NSUM points is averaged to produce one plotted point. If there are M data points, then M/NSUM points are plotted.
|
Property Type
|
Integer
|
||
|
Name String
|
Number of points to average
|
||
|
Get: Yes
|
Set: Yes
|
Init: Yes
|
Registered: Yes
|
An object reference to a palette object (an instance of the IDLgrPalette object class). This property is only used if the destination device is using the RGB color model. If so, and a color value for the object is specified as a color index value, the palette set by this property is used to translate the color to RGB space. If the PALETTE property on this object is not set, the destination object PALETTE property is used (which defaults to a grayscale ramp).
This property is registered as a user-defined property, but it is hidden by default.
An object reference to the object that contains this object.
A Boolean value that determines whether to create a polar plot. The X and Y arguments must both be present. The X argument represents the radius, and the Y argument represents the angle expressed in radians.
A Boolean value that determines whether to register properties available for this object. Set this property to automatically register the following properties of the object for display in a property sheet. This property is useful mainly when creating iTools. By default, no properties are registered.
A Boolean value that determines whether to treat the data provided via one of the DATA[XY] properties as a new data set unique to this object, rather than overwriting data that is shared by other objects. There is no reason to use this property if the object on which the property is being set does not currently share data with another object (that is, if the SHARE_DATA property is not in use). This property has no effect if no new data is provided via a DATA property.
An object reference to an object with which data is to be shared by this plot. A plot may only share data with another plot. The SHARE_DATA property is intended for use when data values are not set via an argument to the object's Init method or by setting the object's DATA property.
An object reference vector containing instances of the IDLgrSymbol object class. Each symbol in the vector will be drawn at the corresponding plotted point. If there are more points than elements in SYMBOL, the elements of the SYMBOL vector are cyclically repeated. By default, no symbols are drawn. To remove symbols from a plot, set the SYMBOL property equal to a null object reference.
|
Property Type
|
Object reference vector
|
||
|
Name String
|
not displayed
|
||
|
Get: Yes
|
Set: Yes
|
Init: Yes
|
Registered: No
|
A floating-point value between 1.0 and 10.0, specifying the line thickness to be used to draw the plotted lines, in points. The default is 1.0 points.
In a property sheet, this property appears as follows:
A Boolean value that determines whether to use the current ZVALUE. The plot is considered three-dimensional if this property is set.
A vector of colors to be used to specify the color of the plot segment between each vertex. The vector may be of the form [n] where each entry is a color index, or of the form [3,n] where each 3-element row is an RGB color, or of the form [4,n] where each 4-element row is an RGBA color. To remove vertex colors after they have been set, set VERT_COLORS to a scalar.
If VERT_COLORS is not specified, the entire plot is drawn in the single color provided by the COLOR property, which is the default action.
If there are more vertices than elements in VERT_COLORS, the elements of VERT_COLORS are cyclically repeated.
When VERT_COLORS is used with symbols, the vertex colors and vertex alpha override any colors and alpha specified by the symbol object or any colors and alpha specified by graphic atoms contained in a user-defined symbol.
A floating-point vector, [s0, s1], of scaling factors used to convert X coordinates from data units to normalized units. The formula for the conversion is as follows:
NormalizedX = s0 + s1 * DataX
Recommended values are:
[(-Xmin)/(Xmax-Xmin), 1/(Xmax-Xmin)]
The default is [0.0, 1.0]. IDL converts, maintains, and returns this data as double-precision floating-point.
|
Property Type
|
Floating-point vector
|
||
|
Name String
|
not displayed
|
||
|
Get: Yes
|
Set: Yes
|
Init: Yes
|
Registered: No
|
A two-element floating-point vector of the form [xmin, xmax] specifying the range of x data coordinates covered by the graphic object. If this property is not specified, the minimum and maximum data values are used. IDL converts, maintains, and returns this data as double-precision floating-point.
|
Property Type
|
Floating-point vector
|
||
|
Name String
|
not displayed
|
||
|
Get: Yes
|
Set: Yes
|
Init: Yes
|
Registered: No
|
A floating-point vector, [s0, s1], of scaling factors used to convert Y coordinates from data units to normalized units. The formula for the conversion is as follows:
NormalizedY = s0 + s1 * DataY
Recommended values are:
[(-Ymin)/(Ymax-Ymin), 1/(Ymax-Ymin)]
The default is [0.0, 1.0]. IDL converts, maintains, and returns this data as double-precision floating-point.
|
Property Type
|
Floating-point vector
|
||
|
Name String
|
not displayed
|
||
|
Get: Yes
|
Set: Yes
|
Init: Yes
|
Registered: No
|
A two-element floating-point vector of the form [ymin, ymax] specifying the range of y data values covered by the graphic object. If this property is not specified, the minimum and maximum data values are used. IDL converts, maintains, and returns this data as double-precision floating-point.
|
Property Type
|
Floating-point vector
|
||
|
Name String
|
not displayed
|
||
|
Get: Yes
|
Set: Yes
|
Init: Yes
|
Registered: No
|
A floating-point vector, [s0, s1], of scaling factors used to convert Z coordinates from data units to normalized units. The formula for the conversion is as follows:
NormalizedZ = s0 + s1 * DataZ
The default is [0.0, 1.0]. IDL converts, maintains, and returns this data as double-precision floating-point.
|
Property Type
|
Floating-point vector
|
||
|
Name String
|
not displayed
|
||
|
Get: Yes
|
Set: Yes
|
Init: Yes
|
Registered: No
|
A two-element floating-point vector of the form [zmin, zmax] specifying the range of z data values covered by the graphic object. IDL maintains and returns this property in double-precision floating-point.
| Note |
|
Property Type
|
Floating-point vector
|
||
|
Name String
|
not displayed
|
||
|
Get: Yes
|
Set: No
|
Init: No
|
Registered: No
|
A floating-point value to be used as the Z coordinate for the entire plot. By default, 0.0 is used as the Z coordinate.
| Note |
ALPHA_CHANNEL added: 6.1