show partically blokced x-axis
이전 댓글 표시
This code shows a partically blocked x-axis, because of the statement "ylim(yl)" trimming the y-axis limit. How do I make the x-axis show? Thanks.
댓글 수: 2
Walter Roberson
2011년 12월 22일
Which code? And please expand on what you mean by "a partially blocked x-axis" ?
http://www.mathworks.com/matlabcentral/answers/7924-where-can-i-upload-images-and-files-for-use-on-matlab-answers
Hugh
2011년 12월 22일
답변 (3개)
Matt Tearle
2011년 12월 22일
1 개 추천
Quick fix: set(gca,'Layer','top')
Cheap'n'dirty -- that's me :)
Honglei Chen
2011년 12월 22일
Hi Hugh,
This is because the axis mode is still 'Auto'. I would suggest you to do the following when adjusting the y axis
axis manual
ylim(yl)
HTH
Hugh
2011년 12월 22일
0 개 추천
댓글 수: 1
Matt Tearle
2011년 12월 22일
Yay. Love it when the cheap tricks work :)
카테고리
도움말 센터 및 File Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!