How does surface plot(surf(x,y,z) work?

10 visualizzazioni (ultimi 30 giorni)
JohnS
JohnS il 25 Gen 2015
Risposto: Gareth Thomas il 25 Gen 2015
when plotting surf(x,y,z), and setting z to an x by y vector of ones. I'm under the impression that the surface will look the same, with the exception of the "texture of surface" when varying numbers for x and y. I'm trying to gain a better understanding on how this function generates 3D plots.

Risposte (1)

Gareth Thomas
Gareth Thomas il 25 Gen 2015
When I started using surf I also found it slightly confusing. What helped me figure it out was the documentation:
Having said that is you have or need more help, than the examples there try pressing the "was this useful button at the bottom"and let the MathWorks doc team know what they can do to improve it:)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by