フィルターのクリア

Change the axis label unit length

1 回表示 (過去 30 日間)
Fardin Azimi
Fardin Azimi 2016 年 10 月 23 日
回答済み: Marc Jakobi 2016 年 10 月 23 日
Hello everyone, I want to know how I can change the unit value of an axis, for example, I want the xaxis label to show values with a step of 1. In the standard form, it changes when you change the size of the plot, but I do not want that. Can anyone help me? Thank you

採用された回答

Marc Jakobi
Marc Jakobi 2016 年 10 月 23 日
You can set the XTick and XTickLabel properties.
ax = gca;
ax.XTick = [...]; %vector containing ticks you would like (spread evenly across axis)

その他の回答 (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