What is the difference between these commands ?

48 Ansichten (letzte 30 Tage)
diadalina
diadalina am 19 Dez. 2017
Kommentiert: Image Analyst am 19 Dez. 2017
can anyone tell me the difference between plot3 and meshgrid and surf ?

Akzeptierte Antwort

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

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by