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

3 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Data Distribution Plots 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by