Clear Filters
Clear Filters

how to write actual values of axis instead of column/rows number in imagesc plot ?

2 views (last 30 days)
I have 361X361 matrix. I found plot (imagesc) .But i want to show x axis and y axis as x= 87to 99(87:0.033333333:99) and y=20 to 32(20:0.033333333:32) ,respectively. Instead of 0 to 361 as shown in figure.
please help me.
Thanks in advance!

Accepted Answer

Walter Roberson
Walter Roberson on 7 Aug 2021
imagesc([87 99], [20 32], YourArray) 

More Answers (0)


Find more on Creating and Concatenating Matrices in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!