Octave graphic add-on, Octplot



česky

1.5 Contour plot



Function file: c = contour (x,y,z,N)


This function plots contour graph from 3D surface defined by matrix z. Parameters x,y, N (numebr of contours) are optional.

Example:
[x,y]=meshgrid(-2:.2:2,-2:.2:3);
z=x.*exp(-x.^2-y.^2);
contour(z,20)






<<< 1.4 Basic graphs III - bar, barh 1.6 Patch and surface graphs >>>

© 2008 David Prokop