Octave graphic add-on, Octplot



česky

1.6 Patch and surface graphs



Function file: h = patch (x,y,ARGS)


This function plots patch object - one or more polygons defined by vertex. It returns handle to variable h.


Function file: h = surface (x,y,ARGS)


This function are generating surface objects. Parameter z can be matrix, x and y can be empty, vectors or matrixces. The rest arguments, if it are use to format of surface. It returns handle to variable h.



Example:
x=[0 1.5 2.1 3.4 4.5];
y=[0 1.3];
z=[0 2.1 1.5 2.3 4.1;1.5 4.1 2.6 3.5 1.9] ;
surface(x,y,z)





<<<1.5 Contour plot 1.7 Pseudo-picture - function pcolor >>>

© 2008 David Prokop