MATLAB Answers

What is the difference between these commands ?

24 views (last 30 days)
diadalina
diadalina on 19 Dec 2017
Commented: Image Analyst on 19 Dec 2017
can anyone tell me the difference between plot3 and meshgrid and surf ?

  0 Comments

Sign in to comment.

Accepted Answer

Image Analyst
Image Analyst on 19 Dec 2017
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 Comments

diadalina
diadalina on 19 Dec 2017
thank mr.image analyst for your answer . can you give me an example ?
Image Analyst
Image Analyst on 19 Dec 2017
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.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!