legend on contour plot

David Bateman adb014 at gmail.com
Sat Feb 9 18:26:51 CST 2008


Henry F. Mollet wrote:
> I have the same problem. Using peaks() shows that axis should be axis ([-3,
> 3, -3, 3]) and that the contours should be between -6 and + 6. It appears
> that the axis, when using contour (peaks) are based on the default mesh
> value N-by-N = 49.
>

Maybe if you did

[x,y,z] = peaks();
contour(x,y,z);

you'd see what you expect

D.



More information about the Help-octave mailing list