How to dynamically update figure ticks and labels while inspecting data
Mostra commenti meno recenti
I am often plotting data, then I want to zoom in/out to get a better understanding of smaller details within a bigger set of data. When I zoom in using the magnifying glass feature, it would be great if the axes updated. For example, if the x-axis goes from 0-10 in units of 1 increments, then I zoom into the section between x=1.1 and x=1.9, there is no information on the x-axis to indicate where I am anymore. Is there an easy way to deal with this?
Risposta accettata
Più risposte (2)
Michael Haderlein
il 29 Ago 2014
Actually, it does update the ticks by default. You might have set the XTickMode to Manual, either directly or by setting the XTick property. So, if you enter
set(axes_handle,'XTickMode','auto')
you will bring this functionality back.
Daniel
il 29 Ago 2014
Categorie
Scopri di più su Data Exploration in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!