How to set my own row and column labels in 'imagesc' fcn

3 ビュー (過去 30 日間)
Jonasz
Jonasz 2013 年 9 月 1 日
I would like to set my own row and column labels in imagesc function. How to simply do this. My row and column labels are numbers not a string.

回答 (1 件)

rifat
rifat 2013 年 9 月 1 日
Are you talking about labels or XTickLabels?
If it about labels then you can simply change it by using xlabel command and convert the numbers into strings by num2str
  1 件のコメント
Jonasz
Jonasz 2013 年 9 月 1 日
It's works but I need to replace normal labels to this labels and eg. when I zoom the figure the labels should behave in the same way but in this case they don't.

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

カテゴリ

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

製品

Community Treasure Hunt

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

Start Hunting!

Translated by