How to make a 3D scatterplot with perspective
14 views (last 30 days)
Show older comments
I need to create a 3D scatterplot that looks something like this:

Where X is left-right, Y is depth, and Z is height.
I have arrays of X, Y and Z points and have been playing with scatter3(), but need perspective in the Y direction to better show position, and other things like turning off the Z axes, etc. Is this possible?
0 Comments
Answers (1)
Star Strider
on 27 Mar 2018
For example:
set(gca, 'Projection','perspective')
3 Comments
Star Strider
on 27 Mar 2018
KAE
on 30 Jul 2019
I am confused by your picture. The dots all look the same size. Didn't you want faraway dots to look smaller and closer dots to look bigger?
See Also
Categories
Find more on Scatter Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!