CheckPlotStruct

Location: ..\cubatch\Model_nPLS1\private\CheckPlotStruct.m

function PlotStructOut = CheckPlotStruct (PlotStruct,MainFig);

Description:
Checks that the PlotStruct contents are compatible with the requirements of nPLS1 and PLS1 plot functions  (Model_nPLS1\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
nPLS1Plot function

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

Outputs:
PlotStructOut: correct PlotStruct data structure

Called by:
Model_nPLS1\nPLS1Plot

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: 16-Oct-2002 11:20:26

Contact: Giorgio Tomasi, gt@kvl.dk

References