"daspect" function resizes axes

14 vues (au cours des 30 derniers jours)
MathWorks Support Team
MathWorks Support Team le 25 Jan 2018
When using the "daspect" function, the resulting axes limits make the plot difficult to read.  How can I fix this?

Réponse acceptée

MathWorks Support Team
MathWorks Support Team le 17 Août 2021
Modifié(e) : MathWorks Support Team le 9 Sep 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:

Plus de réponses (0)

Produits


Version

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by