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 日

2 投票

xlim([0 100])
xticks(0:20:100)

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeMATLAB についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by