xlim is not working with the limitmethod option, and how to change its default behaviour?
16 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Mohit Kumar
el 29 de Mzo. de 2021
Comentada: Mohit Kumar
el 6 de Abr. de 2021
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 comentarios
Respuesta aceptada
Reshma Nerella
el 6 de Abr. de 2021
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
Más respuestas (0)
Ver también
Categorías
Más información sobre Interactive Control and Callbacks en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!