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?

답변 (1개)

Voss
Voss 2023년 3월 9일

0 개 추천

set(groot,'DefaultAxesXMinorTick','on','DefaultAxesYMinorTick','on')

카테고리

도움말 센터File Exchange에서 Creating, Deleting, and Querying Graphics Objects에 대해 자세히 알아보기

제품

릴리스

R2022b

질문:

2023년 3월 9일

답변:

2023년 3월 9일

Community Treasure Hunt

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

Start Hunting!

Translated by