When plotting in 3D space, what to do to make 1 unit look the same length on each axis?

2 views (last 30 days)
Hi,
I have a matrix of data points 'xyz' and I plotted them in the 3D X, Y and Z space.
Notice that 1 unit on the Z axis (from 0 to 1) is visually much longer than 1 unit on the Y axis.
Why is that and how to fix it so that 1 unit (from 0 to 1) is the same length on each of the X, Y and Z axis?

Accepted Answer

Walter Roberson
Walter Roberson on 16 Jan 2023
https://www.mathworks.com/help/matlab/ref/daspect.html

More Answers (0)

Categories

Find more on 2-D and 3-D 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!