CheckPlotStruct

Location: CuBatch\private\CheckPlotStruct.m

function PlotStructOut = CheckPlotStruct (PlotStruct,MainFig);

Description:
Checks that the PlotStruct contents are compatible with the requirements of PARAFAC plot functions (Model_PARAFAC\private\Plot_*) and consistent with the validation method used, with whether it is an applied or computed model, etc.
The function is called whenever a plot is requested via the
PARAFACPlot function.

Inputs:
PlotStruct: PlotStruct data structure
MainFig: main CuBatch figure handle

Outputs:
PlotStructOut: correct PlotStruct data structure

Called by:
Model_PARAFAC\PARAFACPlot

Subroutines:
Internal: None
External: ctag, getcvdata

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

Last modified: 11-Oct-2002 18:33:24

Contact: Giorgio Tomasi, gt@kvl.dk

References