How can I change axes labels?
Mostra commenti meno recenti
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.
Risposta accettata
Più risposte (1)
Azzi Abdelmalek
il 28 Nov 2012
Modificato: Azzi Abdelmalek
il 28 Nov 2012
yt=get(gca,'ytick');
set(gca,'yticklabel',fliplr(yt))
8 Commenti
Tomislav
il 28 Nov 2012
Azzi Abdelmalek
il 28 Nov 2012
I think your comments are contradictory
Tomislav
il 28 Nov 2012
Azzi Abdelmalek
il 28 Nov 2012
Modificato: Azzi Abdelmalek
il 28 Nov 2012
If you don't change your data, the data cursor will give the same values.
Tomislav
il 28 Nov 2012
Azzi Abdelmalek
il 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
il 29 Nov 2012
Tomislav
il 29 Nov 2012
Categorie
Scopri di più su Data Exploration in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!