semilogy tick marker is missing
조회 수: 5 (최근 30일)
이전 댓글 표시
Hi everyone,
Markers at Y lower limits are missing.
How can I fix that? Thanks!
Rui
![](https://www.mathworks.com/matlabcentral/images/broken_image.png)
채택된 답변
dpb
2013년 7월 14일
Don't set the lower limit to 0.2 as it appears you have, leave it at 0.1
IOW, use
ylim([0.1 20])
instead of the
ylim([0.2 20])
you appear to have done based on the plot image
댓글 수: 3
dpb
2013년 7월 14일
편집: dpb
2013년 7월 14일
Or, if you can stand to not have the exponent, you can set the ytick values manually...try the following to see how handle graphics deals w/ the log axis tick labels--
semilogy([0 6], [15 .1])
ylim([0.2 20])
get(gca,'ytick')
get(gca,'yticklab')
set(gca,'ytick',[.2 1 10])
set(gca,'ytick',[ 1 10])
Salt to suit...
추가 답변 (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!