How to control x-axis range

2 Ansichten (letzte 30 Tage)
CHOI HYUNDUK
CHOI HYUNDUK am 27 Jan. 2019
Kommentiert: Somesh Thakur am 26 Jul. 2020
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?

Akzeptierte Antwort

madhan ravi
madhan ravi am 27 Jan. 2019
xlim([0 100])
xticks(0:20:100)

Weitere Antworten (0)

Kategorien

Mehr zu MATLAB finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by