How to plot a geographical surface temperature heat map?

34 ビュー (過去 30 日間)
Ashfaq Ahmed
Ashfaq Ahmed 2022 年 7 月 13 日
編集済み: Ashfaq Ahmed 2022 年 7 月 15 日
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 件のコメント
Ashfaq Ahmed
Ashfaq Ahmed 2022 年 7 月 14 日
@Chad Greene I know you are an expert in this field. I will really appreciate if you advice me anything on this :)



Debadipto 2022 年 7 月 13 日
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 件のコメント
Ashfaq Ahmed
Ashfaq Ahmed 2022 年 7 月 14 日
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?


その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by