PLOT
Plots the pwag function
Contents
Method of pwag object.
Description
Plots the pwag function in a given domain. If the number of dimensions is bigger than two, a section must be specified.
Syntax
plot(object,[h])
h (optional) is the handle of the figure you want to plot the function on. If it is not provided, a new figure is created.
plot(object,D,[h])
D is the domain in which you want to plot the figure. D must be a matrix with 2 rows and as many columns as the number of dimensions of the function domain. See method getDomain for further information. About h, see above.
plot(object,section,[h])
section is a structure with fields ind and val. ind contains the indexes of the components you want to fix and val the value at which you want to fix them. For example, if you want to plot the function in section x1 = 0 and x3 = -2, you have to assign section.ind = [1 3] and section.val = [0 -2]. section must be provided to plot function with more than two dimensions. About h, see above.
plot(object,D,section,[h])
All arguments explained above are passed to the method.
Acknowledgements
Contributors:
- Tomaso Poggi (tpoggi@essbilbao.org)
Copyright is with:
- Copyright (C) 2010 University of Genoa, Italy.