12.07.2015 Views

MATLAB Function Reference (Volume 2: Graphics)

MATLAB Function Reference (Volume 2: Graphics)

MATLAB Function Reference (Volume 2: Graphics)

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

ezsurfUsing surf to plot the same data produces a graph without filtering ofdiscontinuities (as well as requiring more steps):[x,y] = meshgrid(linspace(-2*pi,2*pi,60));z = real(atan(x+i.*y));surf(x,y,z)210−1−21050−5−10−10−50510Note also that ezsurf creates graphs that have axis labels, a title, and extendto the axis limits.See Alsoezcontour, ezcontourf, ezmesh, ezmeshc, ezplot, ezpolar, ezsurfc, surf2-152

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!