Plot points in 3D in MATLAB? -


i need plot points in 3d in matlab. example, @ image:

enter image description here

the background represents plane, , color of each point dependent on z value. 2d plot, if plot in 3d should plane , points. did not create image, , wonder how plot this. need make colors of points dependent on z value , plot in 2d, or if plot in 3d how plot points in 3d?

thanks

use scatter3

scatter3(x, y, z, 'ob'); 

see doc here.


Comments

Popular posts from this blog

c# - Operator '==' incompatible with operand types 'Guid' and 'Guid' using DynamicExpression.ParseLambda<T, bool> -