How can I change axes labels?
1 view (last 30 days)
Show older comments
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.
0 Comments
Accepted Answer
More Answers (1)
Azzi Abdelmalek
on 28 Nov 2012
Edited: Azzi Abdelmalek
on 28 Nov 2012
yt=get(gca,'ytick');
set(gca,'yticklabel',fliplr(yt))
8 Comments
See Also
Categories
Find more on Axis Labels in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!