%% Specify Axis Limits
% Set the x-axis and y-axis limits to match the range of data.

[x,y] = meshgrid(-1.75:.2:3.25);
z = x.*exp(-x.^2-y.^2);

figure
surf(x,y,z) 
xlim([-1.75,3.25])
ylim([-1.75,3.25])

% Copyright 2015 The MathWorks, Inc.