How to control x-axis range

2 ビュー (過去 30 日間)
CHOI HYUNDUK
CHOI HYUNDUK 2019 年 1 月 27 日
コメント済み: Somesh Thakur 2020 年 7 月 26 日
For example, In a plot 'x-axis' has 0 50 100.
But I want that it shows 0 20 40 60 80 100.
How can I control this range in the figure?

採用された回答

madhan ravi
madhan ravi 2019 年 1 月 27 日
xlim([0 100])
xticks(0:20:100)
  1 件のコメント
Somesh Thakur
Somesh Thakur 2020 年 7 月 26 日
Thank you

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

その他の回答 (0 件)

カテゴリ

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by