Custom XTickLabels and zooming

1 次查看(过去 30 天)
Edward
Edward 2014-3-3
评论: dpb 2014-3-3
Hi,
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?

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Grid Lines, Tick Values, and Labels 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by