Home > Objects > @iFunc > plot.m

iFit/plot

PURPOSE ^

h = plot(model, parameters, axes, ...) plot a model

SYNOPSIS ^

function h = plot(a, p, varargin)

DESCRIPTION ^

 h = plot(model, parameters, axes, ...) plot a model

   @iFunc/plot applies the function 'model' using the specified parameters and axes
     and function parameters 'pars' with optional additional parameters. A plot of
     the model is then produced.
     The axis rank '1' corresponds to axis usually labelled as 'y'
     The axis rank '2' corresponds to axis usually labelled as 'x'

 input:  model: model function (iFunc, single or array)
         parameters: model parameters (vector, cell or vectors) or 'guess'
         ...: additional parameters may be passed, which are then forwarded to the model
 output: h: handle to the plotted object (handle)

 ex:     b=plot(gauss); plot(gauss*lorz, [1 2 3 4, 5 6 7 8]);

 Version: Aug. 22, 2017
 See also iFunc, iFunc/fit, iFunc/feval

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Tue 22-Aug-2017 11:03:30 by m2html © 2005. iFit (c) E.Farhi/ILL EUPL 1.1