% mm2709.m [X,Y,Z] = peaks(30); surf(X,Y,Z) grid on xlabel('X-axis'), ylabel('Y-axis'), zlabel('Z-axis') title('Figure 27.9: Surface Plot of Peaks')