void DrawWaveletLegend( Plot plot, Matrix Decomposition, Matrix ThreshOpt, Matrix mLocation )
Plot plot
The plot on which the legend will appear.
Matrix Decomposition
A wavelet decomposition produced by the IML subroutine WAVFT.
Matrix ThreshOpt
An optional numeric vector with four elements that specifies the thresholding used in the plot. If this parameter is not specified, the legend displays "Thresholding:None." The documentation for
WAVIFT describes the use of the ThreshOpt vector.
Matrix mLocation
An optional matrix containing a three-character string that specifies the position of the legend within the plot. This string has the form "PXY", where P is either I (inside
the Plot Area) or O (outside the Plot Area), X is either L (left), C (center), or R (right), and Y is either T (top), C (center), or B (bottom). For example, common choices
are "ILT" (upper left corner of the Plot Area), "ORC" (in the right graph margin), and "OCB" (in the bottom graph margin). If this parameter is not specified, "ORC" is used.
This module adds a legend to a plot. The legend displays the specified wavelet decomposition and thresholding options.
This module is called by the modules that create wavelet visualization graphics, but you can also call it directly.
PI = 4 * atan( 1 ); x = T( do(0, 1, 1/1023) ); y = sqrt( x#(1-x) ) # sin( PI*2.1/(x+0.05) ); call wavft( decomp, y, WAV_HAAR ); /* DrawWaveletLegend is called by the following module*/ call CoefficientPlot( decomp, , 4, , "absolute", );