Changing number of minor ticks between each integer

조회 수: 9 (최근 30일)
Christopher Arreola
Christopher Arreola 2021년 12월 10일
댓글: Christopher Arreola 2021년 12월 10일
I currently have 4 minor ticks between each number, which is the go to number matlab uses unless otherwise specified. How do I change it to just 1 tick mark between each number?
Here is graph, notice on x-axis it has 4 minor tick marks.
  댓글 수: 1
Christopher Arreola
Christopher Arreola 2021년 12월 10일
Got it to work using this
a.XAxis.MinorTickValues = 1:0.5:10;

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by