2 XTick are existing on one plot!
조회 수: 3 (최근 30일)
이전 댓글 표시
I'm trying to change the x ticks on a plotyy(x,y1,x,y2). This is what I'm doing:
set(gca,'XTick',[0:4:64])
However, the plotyy wants to use something more like [0:10:70], so I am getting my 0:4:64 ticks, but they are just being overlaid over the default ticks. Basically it's just really hard to read and the default ticks do not work for my application.
댓글 수: 0
채택된 답변
Jan
2012년 7월 18일
plotyy creates two axes objects. So do not use gca but the handles replied by AX = plotyy().
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Two y-axis에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!