필터 지우기
필터 지우기

Custom XTickLabels and zooming

조회 수: 4 (최근 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?
  댓글 수: 1
dpb
dpb 2014년 3월 3일
doc zoom
Read up on the callbacks

댓글을 달려면 로그인하십시오.

답변 (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