www.gusucode.com > symbolic 源码程序 matlab案例代码 > symbolic/UseAHandleToTheSurfacePlotExample.m

    %% Use Handle to Surface Plot
% Plot the symbolic expression |sin(x)cos(x)|, and assign the result to the
% handle |h|.

% Copyright 2015 The MathWorks, Inc.

syms x y
h = ezsurf(sin(x)*cos(y), [-pi, pi])
%%
% You can use this handle to change properties of the plot. For
% example, change the color of the area outline.
h.EdgeColor = 'red'