How to reduce the space between Yticks?
조회 수: 5 (최근 30일)
이전 댓글 표시
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.
댓글 수: 0
채택된 답변
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
2018년 11월 6일
편집: madhan ravi
2018년 11월 6일
not sure what you want from the above? or try plotyy()
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Axis Labels에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!