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
类别
在 帮助中心 和 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!