xlim is not working with the limitmethod option, and how to change its default behaviour?
11 次查看(过去 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!