"daspect" function resizes axes

10 views (last 30 days)
When using the "daspect" function, the resulting axes limits make the plot difficult to read.  How can I fix this?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 17 Aug 2021
Edited: MathWorks Support Team on 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:

More Answers (0)

Products


Release

R2017b

Community Treasure Hunt

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

Start Hunting!