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

2 visualizzazioni (ultimi 30 giorni)
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!

Risposta accettata

Walter Roberson
Walter Roberson il 7 Ago 2021
imagesc([87 99], [20 32], YourArray) 

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by