MATLAB: What is the difference between these commands

3d plotsplotting

can anyone tell me the difference between plot3 and meshgrid and surf ?

Best Answer

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.