PARAFACActivatePlots

Location: CuBatch\Model_PARAFAC\PARAFACActivatePlots.m

function PARAFACActivatePlots (PlotMenuHan,ModeNames,Factors,Validation,Flag);

Description:
It activates the
'Results' submenus relative to a PARAFAC model after it is computed, loaded or applied to a new set of data via PARAFACApply. Some plots are available only for specific type of validation or whether the model is fit to a new set of data instead of being just computed. In particular the 'online' plots (Q statistics, D statistics, SPE) are activated only when the last mode is given name 'time' (case insensitive)
The menus callback is PARAFACPlot


Inputs:
PlotMenuHan:
'Results' menu handle
ModeNames: cell vector holding the modes' names for the data used to compute the model
Factors: vector of the number of factors (for all the computed models, if more than one)
Validation: type of validation
Flag: 0/1 depending on whether the results refer to a model that has been just computed (0) or to a model that has been applied to a new set of data (1).

Outputs:
None

Called by:
ActivatePlots

Subroutines:
Internal: None
External: guinames, setcvdata plot_d_statistic, plot_explained_variance, plot_imp, plot_landscape, plot_loadings, plot_partial_rss, plot_partial_rss_online, plot_press, plot_quality, plot_rip, plot_risk, plot_rmse,

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

Last modified: 11-Oct-2002 19:45:38

Contact: Giorgio Tomasi, gt@kvl.dk

References