- use the zoom postactioncallback to change the font size; or
- make the plot into an image with the text "burned in" to the image, and then the apparent size would change as you zoom.
how to make zoom in and out
4 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Shehab Tarek
il 20 Mag 2020
Risposto: Walter Roberson
il 21 Mag 2020
zoom in and out the text
0 Commenti
Risposta accettata
Walter Roberson
il 21 Mag 2020
text objects have different possible FontUnits. All of the possibilities except Normalized relate to physical display size, and when you zoom because the physical display does not change, the on-screen size stays the same. normalized is proportional to the physical size of the axes, but since that does not change when you zoom, the size of the text does not change.
None of the text size options are in data units.
In order to change the text size when zooming, you have two choices:
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Data Exploration in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!