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