How to plot data at certain locations on a map

7 ビュー (過去 30 日間)
Max Gawryla
Max Gawryla 2015 年 7 月 14 日
回答済み: Federico Di Catarina 2018 年 7 月 15 日
I have approximately. 300 locations across the continental United States. I understand how to plot these locations on a map, but I need to plot data on top of them. For example, each location has a different value of variable X ranging between 0 and 1. How would I be able to create a map that shows the value of X at each location? Currently, I have this to create a map with just the lats/lons:
figure(1)
ax = usamap('conus');
setm(ax,'FFaceColor',[1 1 1])
states = geoshape(shaperead('usastatehi','UseGeoCoords',true));
geoshow(states,'FaceColor',[1 1 1])
geoshow(latlon)
but am unsure how to progress. I have searched through the matlab page on caxis, geoshow, geopoint, geoshape, as well as many others but can't seem to find what I'm looking for in any of these.
EDIT: I feel like I should state latlon is a geopoint type variable.
EDIT2: In the comments to this question are examples of what I currently have and something like what I'm looking to do.
  3 件のコメント
Max Gawryla
Max Gawryla 2015 年 7 月 15 日
Hi Luis,
I'm trying to make a map something like the first image (not made by me). What I currently have is the second image.
Luis Gomes Perini
Luis Gomes Perini 2015 年 7 月 15 日
can you put the code of the figure above here please ?

サインインしてコメントする。

回答 (1 件)

Federico Di Catarina
Federico Di Catarina 2018 年 7 月 15 日
did you ever figure this out?

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by