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

2 ビュー (過去 30 日間)
Mohammad
Mohammad 2014 年 6 月 11 日
コメント済み: Mohammad 2014 年 6 月 13 日
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 日
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 件のコメント
Mohammad
Mohammad 2014 年 6 月 13 日
Oh right.. I set the x coordinates to the absolute values when plotting and now it works.
Thanks!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeData Exploration についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by