%% 3-D Mesh Plot of Symbolic Function
% Plot a 3-D mesh of the real part of {\rm tan}^{-1}(x + iy) over the default range -5<x<5 and -5<y<5.

syms f(x,y)
f(x,y) = real(atan(x + i*y));
fmesh(f)

% Copyright 2012 The MathWorks, Inc.