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

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?

 採用された回答

Walter Roberson
Walter Roberson 2023 年 1 月 16 日

0 投票

https://www.mathworks.com/help/matlab/ref/daspect.html

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File Exchange で 2-D and 3-D Plots についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by