DataObject.GetMarkerShape

Prototypes

void GetMarkerShape( Matrix mShape )

Parameters

Matrix mShape
Upon return, contains a numeric column vector in which mShape[i] is the shape of the marker that represents observation i in a plot. The predefined constants for the marker shapes are MARKER_SQUARE, MARKER_PLUS, MARKER_CIRCLE, MARKER_DIAMOND, MARKER_X, MARKER_TRIANGLE, MARKER_INVTRIANGLE, and MARKER_STAR.

Remarks

This method retrieves the shapes of the markers that represent observations in plots.

Example
declare DataObject dobj;
dobj = DataObject.Create( "Example" );
x = 1:3;
y = 1:3;
dobj.AddVar( "X", x );
dobj.AddVar( "Y", y );
dobj.SetMarkerShape( 2, MARKER_TRIANGLE );
dobj.SetMarkerShape( 3, MARKER_X );
declare ScatterPlot plot;
plot = ScatterPlot.Create( dobj, "X", "Y" );
plot.SetMarkerSize( 8 );
dobj.GetMarkerShape( m );
print m;
See Also

DataObject.SetMarkerShape