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

function [Axes,MO] = Plot_Quality (PlotStruct,ModelOut,MainFig);
Description:
Plots the slab-wise congruence (cosine) vs the scalars in the mode specified in PlotStruct.nummode.
It applies only to the X array.
If 'leave one out' validation has been calculated it is asked which scores are to be used: those from the complete models or the "predicted" ones.
When the model has been applied to new data this plot automatically applies to the new data.
This plot is currently available only for the X matrix.
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 where the congruences are plot
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: normit, nshape, selectmodel

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:46:48
Contact: Giorgio Tomasi, gt@kvl.dk
References