show partically blokced x-axis
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Walter Roberson
le 22 Déc 2011
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
Réponses (3)
Matt Tearle
le 22 Déc 2011
Quick fix: set(gca,'Layer','top')
Cheap'n'dirty -- that's me :)
0 commentaires
Honglei Chen
le 22 Déc 2011
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
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!