is there a way to get the values associated with the *minor* tick marks?

2 ビュー (過去 30 日間)
Jos (10584)
Jos (10584) 2018 年 6 月 26 日
コメント済み: Ameer Hamza 2018 年 6 月 27 日
get(gca, 'xticks') only returns the major tick marks ...
Thanks! ~ Jos

採用された回答

Ameer Hamza
Ameer Hamza 2018 年 6 月 26 日
編集済み: Ameer Hamza 2018 年 6 月 26 日
ax = gca;
get(ax.XAxis, 'MinorTickValues')
For R2014b and later, following also work
ax = gca;
ax.XAxis.MinorTickValues
  2 件のコメント
Jos (10584)
Jos (10584) 2018 年 6 月 26 日
Thanks! Completely overlooked that :|
Ameer Hamza
Ameer Hamza 2018 年 6 月 27 日
You are welcome.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeAnnotations についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by