% mm2706.m [X,Y,Z] = peaks(30); meshc(X,Y,Z) % mesh plot with underlying contour plot title('Figure 27.6: Mesh Plot with Contours')