nPLS1PlotControls
Location: ..\cubatch\Model_nPLS1\nPLS1PlotControls.m
function
Handles_Win = nPLS1PlotControls (PlotStruct,ModelOut,MainFig,Add_in);
Description:
It opens the window allowing to choose some options for the
desired plots.
The execution is paused the first time this window is called and resumed after
the first plot.
Until another plot is selected from the menus of the main window the last window
created with this function is kept open. Any choice therefore made in such a
window will refer to the model saved as
'ModelOut'
in the current axes.
nPLS1Plot
is called every time the
'Plot'
button is pressed apart from the very first time. In the latter case the
execution will simply be resumed within the calling function.
It defines the application-defined data:
Some of these are named and created to mimic the main figure's
application defined data relevant for the plotting.
Inputs:
PlotStruct:
PlotStruct
structure
ModelOut:
ModelOut
structure
MainFig: handle to the main figure
Add_in: 1 (0 is default) if the selector for the desired
number of LVs must not be visible (i.e. in
Model_nPLS1\Plot_Predictions
such a feature is useless as the number of LVs is predefined).
Outputs:
Handles_Win: handle to the figure opened by this function
Called by:
Model_nPLS1\Plot_Pred_Meas,
Model_nPLS1\Plot_Predictions,
Model_nPLS1\Plot_TU_Loadings,
Model_nPLS1\Plot_XY_Loadings
Subroutines:
Internal: None
External:
cenwindow,
ctag,
cval,
getcvdata,
guinames,
npls1plot,
npls1plotcontrols,
setcvdata,
skcell
Author:
Giorgio Tomasi
Royal Agricultural and Veterinary University
MLI, LMT, Chemometrics group
Rolighedsvej 30
DK-1958 Frederiksberg C
Danmark
Last modified: 02-Nov-2002 19:02:28
Contact: Giorgio Tomasi, gt@kvl.dk
References