PLOT
Method of the pwar object.
Plots the pwar function.
Contents
Description
This method plots the pwar function. If the function is defined over a -dimensional domain, with , the function plots a section of the function defined by the input structure section (see description below).
Syntax
[h] = plot(object, [section], [options]) [h] = plot(object, [index], [value], [options])
Where
- object - a pwar object.
- section - structure defining the section of the function to be plotted. It has the following fields:
ind: | index of the variable(s) to be fixed. | |
val: | value of the variable(s) to be fixed. |
- options is a structure conform mpt_plotPWA.
- h - handle to the plotted figure. Alternatively, index and value can be specified as arrays.
Example
For instance, to plot a function defined over a 3-dimensional domain over the section , section is set as follows:
Acknowledgements
Contributors:
- Bart Genuit (b.a.g.genuit@tue.nl)
- Alberto Oliveri (alberto.oliveri@unige.it)
Copyright is with:
- Copyright (C) 2012 Eindhoven University of Technology, The Netherlands.
- Copyright (C) 2011 University of Genoa, Italy.