xlim is not working with the limitmethod option, and how to change its default behaviour?
조회 수: 16 (최근 30일)
이전 댓글 표시
Hi,
I am trying to run xlim('tight') but this gives me an error. According to the documentation it should work. The error is:
Error using xlim (line 31)
Specify limits or one of the 'mode', 'auto', or 'manual' options.
What should I do? And finally, I want to be able to change my default MATLAB plot setting to tight instead of tickaligned
댓글 수: 0
채택된 답변
Reshma Nerella
2021년 4월 6일
Hi,
The feature LimitMethod for axes is introduced in R2021a. You are getting this error since you are using R2020b.
Refer to the release notes: release notes
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Interactive Control and Callbacks에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!