How to plot a geographical surface temperature heat map?

14 vues (au cours des 30 derniers jours)
Ashfaq Ahmed
Ashfaq Ahmed le 13 Juil 2022
Modifié(e) : Ashfaq Ahmed le 15 Juil 2022
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 commentaire
Ashfaq Ahmed
Ashfaq Ahmed le 14 Juil 2022
@Chad Greene I know you are an expert in this field. I will really appreciate if you advice me anything on this :)

Connectez-vous pour commenter.

Réponse acceptée

Debadipto
Debadipto le 13 Juil 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 commentaire
Ashfaq Ahmed
Ashfaq Ahmed le 14 Juil 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?

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Geographic Plots dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by