PARAFACPlotControls

Location: ..\cubatch\Model_PARAFAC\PARAFACPlotControls.m

function Handles_Win = PARAFACPlotControls (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.
ParafacPlot 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 components must not be visible (not used here,).

Outputs:
Handles_Win: handle to the figure opened by this function

Called by:
Model_PARAFAC\Plot_IMP, Model_PARAFAC\Plot_Loadings

Subroutines:
Internal: None
External: parafacplot, guinames, setcvdata, skcell, cenwindow, ctag, cval, getcvdata

Author:
Giorgio Tomasi
Royal Agricultural and Veterinary University
MLI, LMT, Chemometrics group
Rolighedsvej 30
DK-1958 Frederiksberg C
Danmark

Last modified: 05-Nov-2002 09:23:56

Contact: Giorgio Tomasi, gt@kvl.dk

References