www.gusucode.com > graphics 案例源码程序 matlab代码 > graphics/SetzAxisLimitsExample.m
%% Set _z_-Axis Limits % Plot a surface and set the _z_-axis limits to range from -5 to 5. % Copyright 2015 The MathWorks, Inc. [X,Y,Z] = peaks; surf(X,Y,Z); zlim([-5 5])