Borrar filtros
Borrar filtros

Matlab image scale in different directions?

2 visualizaciones (últimos 30 días)
Abdelrahman Taha
Abdelrahman Taha el 7 de Ag. de 2020
Comentada: Abdelrahman Taha el 7 de Ag. de 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 comentarios
Abdelrahman Taha
Abdelrahman Taha el 7 de Ag. de 2020
using plot3
Abdelrahman Taha
Abdelrahman Taha el 7 de Ag. de 2020
i figured out how to solve it, just by using this command:
axis equal

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre 2-D and 3-D Plots en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by