Data cursor doesn't display the values set with xticklabel?

I do this to change the x axis values but im not sure how to get the Data cursor to display these new values
set(gca, 'XTick', [1:24:dt], 'XTickLabel', [tW+1:24:tW+1+dt]);

 채택된 답변

the cyclist
the cyclist 2014년 6월 11일

1 개 추천

That command changes only the values labeling the axes. It does not change the data themselves. The data cursor shows the value of the data themselves.

댓글 수: 1

Oh right.. I set the x coordinates to the absolute values when plotting and now it works.
Thanks!

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

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Data Exploration에 대해 자세히 알아보기

태그

질문:

2014년 6월 11일

댓글:

2014년 6월 13일

Community Treasure Hunt

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

Start Hunting!

Translated by