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 个)

类别

Help CenterFile Exchange 中查找有关 Migrate GUIDE Apps 的更多信息

产品


版本

R2020a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by