Custom XTickLabels and zooming

3 views (last 30 days)
Edward on 3 Mar 2014
Commented: dpb on 3 Mar 2014
I have an x array that represents time in seconds,
I want to update the XTickLabels so when the user is zoomed in enough the xTickLabels are shown in seconds.
If the user then zooms out, the XTickLabels change into mins, then hours etc
I need to know how to update the XTickLabels when a zoom action is made, I also need to be able to access the XLimits to work out whether to display the labels in seconds, mins or hours.
Is there a way I can do this?
  1 Comment
dpb on 3 Mar 2014
doc zoom
Read up on the callbacks

Sign in to comment.

Answers (0)


Find more on Visual Exploration in Help Center and File Exchange


Community Treasure Hunt

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

Start Hunting!

Translated by