Plot_Loadings
Location: ..\cubatch\Model_PARAFAC\private\Plot_Loadings.m

function [Axes,MO] = Plot_Loadings (PlotStruct,ModelOut,MainFig);
Description:
Plots the scores/loadings for the mode specified in PlotStruct.nummode according to what selected in the control figure opened with PARAFACPlotControls. In the 1D plot the parameters are plot versus the scalars of the corresponding method. The choice of the component(s) for the axes is taken from PlotStruct.factors.
When the model has been applied to new data this plot automatically applies to the new data.
For the axes specified by Axes the 'ModelOut' application-defined data is set, and it contains a copy of ModelOut.(employed by PARAFACDisplayInfo)

Inputs:
PlotStruct: PlotStruct structure
ModelOut: ModelOut structure for the current model
MainFig: main figure handle

Outputs:
Axes: handle of the axes with the scores/loadings.
MO: empty

Called by:
Model_PARAFAC\PARAFACActivatePlots
NB. The actual call is made from PARAFACPlot via feval and not from Model_PARAFAC\PARAFACActivatePlots.

Subroutines:
Internal: None
External: parafacplotcontrols, plotmodel, plotvalidation, resamplingextract, selectmodel, skcell

Author:
Giorgio Tomasi
Royal Agricultural and Veterinary University
MLI, LMT, Chemometrics group
Rolighedsvej 30
DK-1958 Frederiksberg C
Danmark
Last modified: 14-Oct-2002 18:59:24
Contact: Giorgio Tomasi, gt@kvl.dk
References