How to adjust axes?

조회 수: 1 (최근 30일)
AbelM Kusemererwa
AbelM Kusemererwa 2015년 8월 4일
편집: AbelM Kusemererwa 2015년 8월 5일
I want to force the maximum y-axis to 30 so that all y values will would be displayed up to 30 and also, with minimum ticks of 5 and major ticks increasing by 10

채택된 답변

Azzi Abdelmalek
Azzi Abdelmalek 2015년 8월 4일
  댓글 수: 5
AbelM Kusemererwa
AbelM Kusemererwa 2015년 8월 4일
편집: AbelM Kusemererwa 2015년 8월 5일
Great. if the data is less than the min and max, for example -0.3 to 0.3, instead of displaying -0.6 and 0.6 at the extreme ends of the y-axis it shows example -0.4 and 0.4. I am using subplot to plot 3 different graph
Azzi Abdelmalek
Azzi Abdelmalek 2015년 8월 4일
set(gca,'YMinorTick','on')

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Grid Lines, Tick Values, and Labels에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by