Filter löschen
Filter löschen

Matlab image scale in different directions?

1 Ansicht (letzte 30 Tage)
Abdelrahman Taha
Abdelrahman Taha am 7 Aug. 2020
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 Kommentare
Abdelrahman Taha
Abdelrahman Taha am 7 Aug. 2020
using plot3
Abdelrahman Taha
Abdelrahman Taha am 7 Aug. 2020
i figured out how to solve it, just by using this command:
axis equal

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu 2-D and 3-D Plots finden Sie in Help Center und File Exchange

Tags

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by