The PlotSpectralSignature method creates a dialog with plots for one or more objects.
Example
e = ENVI()
spectralSignatures = e.UI.SelectSpectralSignature(/ALLOW_MULTIPLE)
if (N_Elements(spectralSignatures) ne 0) then e.UI.PlotSpectralSignature, spectralSignatures
Syntax
ENVIUI.PlotSpectralSignature, (SpectralSignature [, Keywords=value])
Arguments
SpectralSignature
One or more ENVISpectralSignature objects to be plotted.
Keywords
Keywords are applied only during the initial creation of the object.
DIALOG_PARENT (optional)
Set this keyword to the widget ID of a widget that will be used as the parent of the plot dialog. If you close the parent dialog, the plot dialog will also close.
ERROR (optional)
Set this keyword to a named variable that will contain any error message issued during execution of this routine. If no error occurs, the ERROR variable will be set to a null string (''). If an error occurs and the routine is a function, then the function result will be undefined.
When this keyword is not set and an error occurs, ENVI returns to the caller and execution halts. In this case, the error message is contained within !ERROR_STATE and can be caught using IDL's CATCH routine. See IDL Help for more information on !ERROR_STATE and CATCH.
See Manage Errors for more information on error handling in ENVI programming.
PLOT_TITLE (optional)
Set this keyword to a string with a title for the plot.
TITLE (optional)
Set this keyword to a string with a title for the dialog.
X_TITLE (optional)
A string with the x axis title.
Y_TITLE (optional)
A string with the y axis title.
Version History
API Version
4.3
See Also
ENVIUI, ENVIUI::SelectSpectralSignature