Plot_TU_Loadings

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

function [Axes,MO] = Plot_TU_Loadings (PlotStruct,ModelOut,MainFig);

Description:
Plots the scores of X (i.e. T) versus the scores of Y (i.e. u) for the mode specified in PlotStruct.nummode according to what selected in the control figure opened with nPLS1PlotControls.
The choice of the LV is taken from PlotStruct.factors(1).

T
his plot is not currently applied to the new data because of the wrong estimation of the Y vectors.
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, plottargetline, plotvalidation, resamplingextract

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:43:26

Contact: Giorgio Tomasi, gt@kvl.dk

References