Plot_Landscape

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

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

Description:
It is active only when X is a three-way array. It plots the surface of either the residuals or the predictions for a certain sample/batch in the X array. In case of
'leave one out' validation it asks wheter the scores to plot are those from the model or the "predicted" ones obtained when the selected model was left out. 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 landscape is 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: 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:45:32

Contact: Giorgio Tomasi, gt@kvl.dk

References