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

6 次查看(过去 30 天)
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.

回答(1 个)

Gareth Thomas
Gareth Thomas 2015-1-25
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:)

类别

Help CenterFile Exchange 中查找有关 Surface and Mesh Plots 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by