What is the difference between these commands ?

20 次查看(过去 30 天)
can anyone tell me the difference between plot3 and meshgrid and surf ?

采纳的回答

Image Analyst
Image Analyst 2017-12-19
plot3() plots some markers at the specified points. It does not make a solid surface between the markers.
surf() will create a solid surface between the points.
meshgrid() gives every possible combination of every x and every y. It is not a plotting function.
  2 个评论
diadalina
diadalina 2017-12-19
thank mr.image analyst for your answer . can you give me an example ?
Image Analyst
Image Analyst 2017-12-19
There are examples in the help. Did you try any or all of them? I'm attaching a demo fro make a movie from the surf() command.

请先登录,再进行评论。

更多回答(0 个)

类别

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