show partically blokced x-axis
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
Hugh
le 22 Déc 2011
Réponses (3)
Matt Tearle
le 22 Déc 2011
1 vote
Quick fix: set(gca,'Layer','top')
Cheap'n'dirty -- that's me :)
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
1 commentaire
Hugh
le 22 Déc 2011
Hugh
le 22 Déc 2011
0 votes
1 commentaire
Matt Tearle
le 22 Déc 2011
Yay. Love it when the cheap tricks work :)
Catégories
En savoir plus sur Annotations dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!