Density plot on geomap
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Mini Me
am 12 Feb. 2021
Kommentiert: Mini Me
am 12 Feb. 2021
I am working with a set of data. Lat, Lon, and Data values. Each in one column in excel (A,B,C). I want to pin each location of my lat lon on the map and use the data value which is 1X1 array to apply a density color scale. The color will vary based on the intensity of the data value. I tried Pcolor, surf,mesgrid I seem to be running the same error with my data not being 2D dimensions.
Please help.
0 Kommentare
Akzeptierte Antwort
Cris LaPierre
am 12 Feb. 2021
Bearbeitet: Cris LaPierre
am 12 Feb. 2021
lon = (-170:10:170);
lat = 50 * cosd(3*lon);
C = rand(1,length(lon));
geoscatter(lat,lon,[],C,'o','MarkerFaceColor','flat')
colorbar
7 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Geographic Plots finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!