[X,Y,Z] = peaks(30); mesh(X,Y,Z) xlabel('X-axis'), ylabel('Y-axis'), zlabel('Z-axis') title('Figure 26.4: Mesh Plot of Peaks')