How can I change axes labels?
显示 更早的评论
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.
采纳的回答
更多回答(1 个)
Azzi Abdelmalek
2012-11-28
编辑:Azzi Abdelmalek
2012-11-28
yt=get(gca,'ytick');
set(gca,'yticklabel',fliplr(yt))
8 个评论
Tomislav
2012-11-28
Azzi Abdelmalek
2012-11-28
I think your comments are contradictory
Tomislav
2012-11-28
Azzi Abdelmalek
2012-11-28
编辑:Azzi Abdelmalek
2012-11-28
If you don't change your data, the data cursor will give the same values.
Tomislav
2012-11-28
Azzi Abdelmalek
2012-11-28
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
2012-11-29
Tomislav
2012-11-29
类别
在 帮助中心 和 File Exchange 中查找有关 Axis Labels 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!