Density plot on geomap

3 visualizaciones (últimos 30 días)
Mini Me
Mini Me el 12 de Feb. de 2021
Comentada: Mini Me el 12 de Feb. de 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.

Respuesta aceptada

Cris LaPierre
Cris LaPierre el 12 de Feb. de 2021
Editada: Cris LaPierre el 12 de Feb. de 2021
If you want to use your value as the color, I recommend geoscatter.
lon = (-170:10:170);
lat = 50 * cosd(3*lon);
C = rand(1,length(lon));
geoscatter(lat,lon,[],C,'o','MarkerFaceColor','flat')
colorbar
  7 comentarios
Mini Me
Mini Me el 12 de Feb. de 2021
My goal is to plot a polygon using Lat and Lon coordinate on the US map from one set of data. Now I have a different set of data that have lat and lon coordinates and data measurement values. The coordinates of the new data set fall inside of the polygon. I want to plot those coordinates with respect to the data values and see the intensity of those values inside the polygon.
Mini Me
Mini Me el 12 de Feb. de 2021
Never mind. I used geoplot..It works now

Iniciar sesión para comentar.

Más respuestas (0)

Etiquetas

Productos


Versión

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by