Setting default XLimitMethod not working
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Jakob Meyer
el 12 de Abr. de 2021
Comentada: Jakob Meyer
el 14 de Abr. de 2021
Hello there,
first question of mine, so let me know if you need more information!
Here is basically what i want to do:
The default for all figures should be similar to the call
axis padded
after one single figure.
I tried to establish this with
set(groot,'DefaultAxesXLimitMethod',"padded")
but this call gives the error
Error using matlab.ui.Root/set
Unrecognized property XLimitMethod for class Axes.
Now i am puzzled by this error as i came up with the set call by ways of the Axes Properties site in the documentation (https://de.mathworks.com/help/matlab/ref/matlab.graphics.axis.axes-properties.html#budumk7_sep_mw_7623f06d-1795-480f-b113-e08ce76e79d5) under Rulers -> XLimitMethod, YLimitMethod, ZLimitMethod.
Perhaps some spelling error or some other label (not XLimitMethod) for this call?
Calls like
set(groot,'DefaultAxesDataAspectRatioMode',"manual")
set(groot,'DefaultAxesPlotBoxAspectRatioMode',"manual")
set(groot,'DefaultAxesDataAspectRatio',[1 1 1])
set(groot,'DefaultAxesPlotBoxAspectRatio',[1 1 1])
work just fine and i grabbed these from the same documentation.
Thank you for your time,
Best regards
2 comentarios
Respuesta aceptada
Cris LaPierre
el 13 de Abr. de 2021
When you look at the documentation specifically for R2020b, no mention is made of XLimitMethod.
Más respuestas (0)
Ver también
Categorías
Más información sobre Axes Appearance 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!