Changing number of minor ticks between each integer

8 ビュー (過去 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 Center および File Exchange2-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