Hiding x and y axes, but leaving top and right axes visible?
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
I have a plot and I want to leave the top and right axes but hide the traditional x and y axes. I cannot figure out a way to do this. Any ideas? Thank you!
0 Commenti
Risposta accettata
Kevin Chng
il 9 Ott 2018
Hi Erik,
plot([0 1],[0 1])
set(gca,'XAxisLocation','top','YAxisLocation','right');
Is this what you want?
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Annotations in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!