%% 3-D Surface Plot of Symbolic Function
% Plot 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));
fsurf(f)

% Copyright 2012 The MathWorks, Inc.