How to standard ticks on x-axis?

2 ビュー (過去 30 日間)
AbelM Kusemererwa
AbelM Kusemererwa 2015 年 7 月 16 日
編集済み: Azzi Abdelmalek 2015 年 7 月 16 日
I have a 24hr data, how can I force the x-axis to have ticks 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24?

採用された回答

Azzi Abdelmalek
Azzi Abdelmalek 2015 年 7 月 16 日
編集済み: Azzi Abdelmalek 2015 年 7 月 16 日
plot(0:24)
set(gca,'xtick',0:24)
Look also
doc xticklabel

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeGrid Lines, Tick Values, and Labels についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by