Matlab, 2D matrix
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
I'm using Matlab and I do have a gridded data (0.5 degree) of India for drought index SPEI stored in .mat file with size (62,63), and I have plotted using imagesc() function. However, I want to display it into a map with longitude and latitude axes to be like the map attached.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/168271/image.png)
0 Kommentare
Antworten (1)
Image Analyst
am 30 Dez. 2017
Use the 'xdata' and 'ydata' inputs to imshow() to have the tick marks be what you want. You can also use xticklabels() and yticklabels().
0 Kommentare
Siehe auch
Kategorien
Mehr zu 2-D and 3-D Plots finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!