Plot.GetGraphAreaWidthHeight

Prototypes

void GetGraphAreaWidthHeight( Matrix mWidth, Matrix mHeight )

Parameters

Matrix mWidth
Upon return, contains the width of the Graph Area in screen pixels.

Matrix mHeight
Upon return, contains the height of the Graph Area in screen pixels.

Remarks

This method retrieves the width and height of the plot's Graph Area in screen pixels.

Example
x = -5:5;
y = x##2;
declare ScatterPlot plot;
plot = ScatterPlot.Create( "Quadratic", x, y );
plot.GetGraphAreaWidthHeight( width, height );
declare String sLabel;
sLabel = "The window is " + (int)width + " x " +
         (int)height + " pixels";
plot.DrawText( 50, 50, sLabel );