Use of SizeChangedFcn for altering labels

1 Ansicht (letzte 30 Tage)
Johannes Hougaard
Johannes Hougaard am 25 Mai 2020
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.

Antworten (0)

Kategorien

Mehr zu Visual Exploration finden Sie in Help Center und File Exchange

Produkte


Version

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by