Use of SizeChangedFcn for altering labels
2 次查看(过去 30 天)
显示 更早的评论
I have created a function (attached fixticks.m) which I often find more convenient than using xtickformat as it is more dynamic in it's behaviour whe zooming in/out.
The use of the zoom properties 'ActionPreCallback' and 'ActionPostCallback' I find very neet in order to keep the automatic ticks when zooming in and out and reapplying the automatic formatting.
BUT - when resizing the figure I often realize that I have to manually zoom in / zoom out before the ticks are correct.
Is there a way to handle this using the SizeChangedFcn or some other property/callback.
It is not my intent to use the functions in a gui or app.
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Migrate GUIDE Apps 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!