how to make label y axis specific?

조회 수: 4 (최근 30일)
Ibrahim AlZoubi
Ibrahim AlZoubi 2020년 6월 21일
답변: Sindar 2020년 6월 25일
I want to make y axis as (0 500 1000) how to do it?
i use I use ylim([1 1000])

답변 (1개)

Sindar
Sindar 2020년 6월 25일
% if you want a label at 0, make sure to include it in your limits
ylim([0 1000])
yticks([0 500 1000])

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by