% Example of surface and contour plot
[X,Y,Z] = peaks(30);
surfc(X,Y,Z)
colormap jet
axis([-3 3 -3 3 -10 5])