generate heat map based on lat/lon and data value
Afficher commentaires plus anciens
Hello,
I have a table with Lat/Lon and some error values. I would like to plot the lat/long and create a heatmap using the error value.
lat lon err_d
38.53 -77.40 194.4729
38.75 -77.04 147.9679
39.05 -77.91 340.3928
any help would be greatly appreciated.
Best,
KB
6 commentaires
Walter Roberson
le 23 Nov 2021
I wonder if the responses at https://www.mathworks.com/matlabcentral/answers/722079-generate-a-geographical-heat-map?s_tid=srchtitle would help ?
Ketan Bharucha
le 23 Nov 2021
Modifié(e) : Walter Roberson
le 23 Nov 2021
Walter Roberson
le 23 Nov 2021
It sounds to me as if you might have "scattered" Lat and Lon, instead of effectively having a grid of them?
Ketan Bharucha
le 23 Nov 2021
Walter Roberson
le 23 Nov 2021
Ketan Bharucha
le 24 Nov 2021
Réponse acceptée
Plus de réponses (1)
Peter Perkins
le 23 Nov 2021
0 votes
The heatmap function accepts a table as input, this should be a one-liner. If you are looking for a surface plot, KSSV's answer should work.
Catégories
En savoir plus sur Data Distribution Plots dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!