XTickLabels after the zooming
2 次查看(过去 30 天)
显示 更早的评论
Hi,
I would like to know how I can set the new xticklabels in a 2D graphic after the zooming. But, I want to delete the previous xticklabels too. The xticklabels are rotated.
I think that the issue could be when I use the zoom per default of matlab.
How can I do it?
thanks
regards
回答(1 个)
Daniel Sternberg
2011-4-13
If you are using custom XTickLabels (which it sounds like you are since MATLAB doesn't rotate the labels by default), the best approach is to use the "ActionPostCallback" of the zoom object. Examples of its use are available in the documentation. At the command prompt, type
doc zoom
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Data Exploration 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!