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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

1 10.2clabelExamplesGenerate, draw, and label a simple contour plot.[x,y] = meshgrid(–2:.2:2);z = x.^exp(–x.^2–y.^2);[C,h] = contour(x,y,z);clabel(C,h);21.510.5010.60.40.8−0.20.20.6−0.2−9.869e−170.40.60.80.2−0.50.8−1−9.869e−170.20.40.60.40.8−1.510.60.8−2−2 −1.5 −1 −0.5 0 0.5 1 1.5 20.2See Alsocontour, contourc, contourf2-78

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

Saved successfully!

Ooh no, something went wrong!