Systems Theory and Automatic Control

ADMITplot
ADMIT documentation: ADMITplot

ADMITplot

ADMITplot is a general wrapper function plotting data derived from the
input object

HANDLES = ADMITplot(OBJ,[OPTIONS]) plots all available data in OBJ object

HANDLES = ADMITplot(OBJ,VARS,[OPTIONS]) plots variables contained in
string or cell array of strings VARS 

HANDLES = ADMITplot(OBJ,VARS,TYPE,[OPTIONS]) plots variables contained
in string or cell array of strings VARS of variable types contained in
string or cell array of strings TYPE

If OBJ is an ADMITresults object, the default variables will be variables
of interest. If bisectioning was performed, corresponding plot is also
shown - see help on ADMITplotBisectioning for details.

Inputs
  [...]     : square brackets notify that input is optional.
  OBJ       : object of type ADMITinfo, ADMITresults or ADMITdata
  VARS      : string with the name of variables or cell array of strings
  TYPE      : string with the type of data or cell array of strings
              currently supported types of data (other will be ignored):
              'Estimate','Initial','Processed','Raw','MonteCarlo'
  OPTIONS   : ADMIToptions object

Returns
  HANDLES   : structure array with fields
              handle - figure handle
              size - width and length of the number of subplot
              type - type of the plot (Time Variant, Time Invariant,
              Bisectioning)

Examples

% Add data stored in matrices
% (note: you can use csvread,xlsread,... and other MatLab-functions to
% read data from CSV,EXCEL,... files!)
dataMean     = [1.5,1.9,1.3,1.7,2,1.6];
dataVariance = [0.15,0.2,0.15,0.1,0.15,0.1];
dataTime     = [0,1,2,3,4,5];
% assume lower/upper bounds to correspond to -/+ standard-deviation
dataLB       = dataMean - sqrt(dataVariance);
dataUB       = dataMean + sqrt(dataVariance);
% import
OPTDATA = ADMITimportData('x1',dataTime,dataLB,dataUB)
% plot the data
ADMITplot(OPTDATA)