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

4 views (last 30 days)
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.

Answers (1)

rifat
rifat on 1 Sep 2013
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 Comment
Jonasz
Jonasz on 1 Sep 2013
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.

Sign in to comment.

Categories

Find more on Data Distribution Plots in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!