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

function [Axes,MO] = Plot_XY_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 nPLS1PlotControls. In the 1D plot the parameters are plot versus the scalars of the corresponding method. The choice of the LV(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 nPLS1DisplayInfo)

Inputs:
PlotStruct: PlotStruct structure
ModelOut: ModelOut structure for the model selected via the menus in the main window.
MainFig: main figure handle

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

Called by:
Model_nPLS1\nPLS1ActivatePlots
NB. The actual call is made from nPLS1Plot via feval and not from Model_nPLS1\nPLS1ActivatePlots.

Subroutines:
Internal: None
External: npls1plotcontrols, plotmodel, plotvalidation, resamplingextract, skcell

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