DataView.GetAttachedMatrix

Prototypes

void GetAttachedMatrix( String sName, Matrix m )

Parameters

String sName
The name of the attachment.

Matrix m
Upon return, contains the attached matrix. If there is no attachment with the specified name, the matrix is undefined (freed).

Remarks

This method retrieves the attachment with the specified name. The attachment must have been added using the method AddAttachedMatrix.

The DataView class enables you to add attachments to a DataView. This enables you to associate additional information about a DataView with the DataView itself. The DataView does not use your attachments.

Example
x = rannor( 1:100 );
declare Histogram plot = Histogram.Create( "Example", x );

minmax = x[><] // x[<>];
plot.AddAttachedMatrix( "X MinMax", minmax );

plot.GetAttachedMatrix( "X MinMax", xmm );
print xmm;
See Also

DataView.AddAttachedMatrix