How to reduce the space between Yticks?

조회 수: 2 (최근 30일)
Hari krishnan
Hari krishnan 2018년 11월 6일
편집: madhan ravi 2018년 11월 6일
Hi, I am plotting a scatter plot with two groups on the Y axis. I want to reduce the distance between these groups in the plot as i only have two groups. Any help to solve this will be appreciated.

채택된 답변

madhan ravi
madhan ravi 2018년 11월 6일
편집: madhan ravi 2018년 11월 6일
ylim([0 2])
yticks([0 2])
or
set(gca,'YTick',0:0.5:2)
  댓글 수: 1
madhan ravi
madhan ravi 2018년 11월 6일
편집: madhan ravi 2018년 11월 6일
not sure what you want from the above? or try plotyy()

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

추가 답변 (0개)

카테고리

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