How can I change axes labels?
Afficher commentaires plus anciens
from this:
0 ^
1 .
2 .
3 .
4 .
5 .
6 .
7 .
8 .
9 .
10.....................>
0 1 2 3 4 5 6 7 8 9 10
to this:
10^
9 .
8 .
7 .
6 .
5 .
4 .
3 .
2 .
1 .
0 .....................>
0 1 2 3 4 5 6 7 8 9 10
Thanks.
Réponse acceptée
Plus de réponses (1)
Azzi Abdelmalek
le 28 Nov 2012
Modifié(e) : Azzi Abdelmalek
le 28 Nov 2012
yt=get(gca,'ytick');
set(gca,'yticklabel',fliplr(yt))
8 commentaires
Tomislav
le 28 Nov 2012
Azzi Abdelmalek
le 28 Nov 2012
I think your comments are contradictory
Tomislav
le 28 Nov 2012
Azzi Abdelmalek
le 28 Nov 2012
Modifié(e) : Azzi Abdelmalek
le 28 Nov 2012
If you don't change your data, the data cursor will give the same values.
Tomislav
le 28 Nov 2012
Azzi Abdelmalek
le 28 Nov 2012
I did'nt say there is no way to make it looks like it following axis labels, but I don't understand what is your goal, perhaps there is better ways.
Tomislav
le 29 Nov 2012
Tomislav
le 29 Nov 2012
Catégories
En savoir plus sur Axis Labels 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!