"daspect" function resizes axes

10 visualizaciones (últimos 30 días)
MathWorks Support Team
MathWorks Support Team el 25 de En. de 2018
Editada: MathWorks Support Team el 9 de Sept. de 2021
When using the "daspect" function, the resulting axes limits make the plot difficult to read.  How can I fix this?

Respuesta aceptada

MathWorks Support Team
MathWorks Support Team el 17 de Ag. de 2021
Editada: MathWorks Support Team el 9 de Sept. de 2021
To fix this issue, try setting the axes limits immediately after calling the "daspect" function. 
For example, first save the axes limits, then call the "daspect" function, and, finally, set the axes limits to the saved values.
For more information on setting axes aspect ratios, please refer to the following link:

Más respuestas (0)

Productos


Versión

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by