How to set default axes tick using groot?

7 ビュー (過去 30 日間)
HC98
HC98 2023 年 3 月 9 日
回答済み: Voss 2023 年 3 月 9 日
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?

回答 (1 件)

Voss
Voss 2023 年 3 月 9 日
set(groot,'DefaultAxesXMinorTick','on','DefaultAxesYMinorTick','on')

カテゴリ

Help Center および File ExchangeGraphics Object Programming についてさらに検索

製品


リリース

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by