Use of SizeChangedFcn for altering labels

2 visualizzazioni (ultimi 30 giorni)
Johannes Hougaard
Johannes Hougaard il 25 Mag 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.

Risposte (0)

Categorie

Scopri di più su Migrate GUIDE Apps in Help Center e File Exchange

Prodotti


Release

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by