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.