Effacer les filtres
Effacer les filtres

Matlab image scale in different directions?

1 vue (au cours des 30 derniers jours)
Abdelrahman Taha
Abdelrahman Taha le 7 Août 2020
Commenté : Abdelrahman Taha le 7 Août 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 commentaires
Abdelrahman Taha
Abdelrahman Taha le 7 Août 2020
using plot3
Abdelrahman Taha
Abdelrahman Taha le 7 Août 2020
i figured out how to solve it, just by using this command:
axis equal

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur 2-D and 3-D Plots dans Help Center et File Exchange

Tags

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by