How to set default axes tick using groot?

4 Ansichten (letzte 30 Tage)
HC98
HC98 am 9 Mär. 2023
Beantwortet: Voss am 9 Mär. 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?

Antworten (1)

Voss
Voss am 9 Mär. 2023
set(groot,'DefaultAxesXMinorTick','on','DefaultAxesYMinorTick','on')

Kategorien

Mehr zu Graphics Object Programming finden Sie in Help Center und File Exchange

Produkte


Version

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by