How to set default axes tick using groot?

I tried to set axis tick using
set(groot,'XMinorTick','on','YMinorTick','on')
Error using matlab.ui.Root/set
Unrecognized property XMinorTick for class Root.
But it gives an error. any idea how to fix?

Respuestas (1)

Voss
Voss el 9 de Mzo. de 2023
set(groot,'DefaultAxesXMinorTick','on','DefaultAxesYMinorTick','on')

Categorías

Más información sobre Creating, Deleting, and Querying Graphics Objects en Centro de ayuda y File Exchange.

Productos

Versión

R2022b

Etiquetas

Preguntada:

el 9 de Mzo. de 2023

Respondida:

el 9 de Mzo. de 2023

Community Treasure Hunt

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

Start Hunting!

Translated by