Clear Filters
Clear Filters

Matlab image scale in different directions?

1 view (last 30 days)
Hi,
I am plotting a 3D plot in matlab, and i noticed that the scale is different in each direction. In the attached image for example, you can see that the length in the z-dir is 20 which seems to be equal to the length in the y-dir whose valus is actually 6. So, how can I stop matlab from changing the scale and producing the plot with its actual scale?
Thanks
  3 Comments
Abdelrahman Taha
Abdelrahman Taha on 7 Aug 2020
i figured out how to solve it, just by using this command:
axis equal

Sign in to comment.

Answers (0)

Categories

Find more on Line Plots in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

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

Start Hunting!