double GetAttachedDouble( String sName, double dDefaultValue )
The return value is the attached double-precision value. If there is no attachment with the specified name, the return value is dDefaultValue.
String sName
The name of the attachment.
double dDefaultValue
The value to return if there is no attachment with the specified name.
This method returns the attachment with the specified name. The attachment must have been added using the method AddAttachedDouble.
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.
x = rannor( 1:100 ); declare Histogram plot = Histogram.Create( "Example", x ); plot.AddAttachedDouble( "X Mean", x[:] ); mx = plot.GetAttachedDouble( "X Mean", . ); print mx;