xlim is not working with the limitmethod option, and how to change its default behaviour?

25 views (last 30 days)
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

More Answers (0)





Community Treasure Hunt

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

Start Hunting!