How to plot a geographical surface temperature heat map?

12 views (last 30 days)
Dear altruists,
I have this Temp_Data.mat file (attached) that contains Latitude (917x345), Longitude (917x345), and sea surface temperature (917x345) matrices. Everything is very straightforward. I want to plot the surface heat map.
But the problem is the Latitude and Longitude range is very small for this problem. It only covers 41.25°N to 41.75°N and -71.45°W to -71.20°W. So, I am facing problem plotting this heat map. Specially, the coastal boundaries are very bad when I use the geoshow or geoplot function.
I just want to know if it is possible to plot for such a small spatial domain in MATLAB. Please let me know. Any feedback from your side will be highly appreciated.
  1 Comment
Ashfaq Ahmed
Ashfaq Ahmed on 14 Jul 2022
@Chad Greene I know you are an expert in this field. I will really appreciate if you advice me anything on this :)

Sign in to comment.

Accepted Answer

Debadipto
Debadipto on 13 Jul 2022
Hi Ashfaq, as per my understanding, you have three matrices namely Lat, Lon and Temp, and you want to create a heatmap from them. Since the range of longitudes and latitudes is small, you want some method that creates plot with narrower lat. and long. limits on the axes. For achieving that, you can try using the geolimits method like this:
geolimits([41.25 41.75], [-71.45 -71.20])
Read more about geolimits here.
  1 Comment
Ashfaq Ahmed
Ashfaq Ahmed on 14 Jul 2022
Hi! Yes, actuyally now I can see the better coastal area borders when I zoom in. However, it seems like this geolimit function works for a table with a single column information. Do you know if it possible to plot the temperature data in a 2D lat/lon grid?

Sign in to comment.

More Answers (0)

Categories

Find more on Geographic Plots 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!