How to set default axes tick using groot?

2 vues (au cours des 30 derniers jours)
HC98
HC98 le 9 Mar 2023
Réponse apportée : Voss le 9 Mar 2023
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?

Réponses (1)

Voss
Voss le 9 Mar 2023
set(groot,'DefaultAxesXMinorTick','on','DefaultAxesYMinorTick','on')

Catégories

En savoir plus sur Creating, Deleting, and Querying Graphics Objects dans Help Center et File Exchange

Produits


Version

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by