How to control x-axis range

조회 수: 14 (최근 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)

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 MATLAB에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by