How do I overlay 2-dimensional (double) data onto a map of the US show state boundaries?

2 次查看(过去 30 天)
Hi,
I've been trying to overlay a 2-d matrix onto a map of the US that shows the boundaries of the states. I can plot usastatehi or my data, but not both on the same figure. I've tried things like plotting usastatehi and then when I try to use 'hold on;surfm(lat,lon,myData);hold off' I only see the data. I was hoping the two plots would act like different layers, but this is not happening.
thanks -- Jeff
  1 个评论
Jeffrey White
Jeffrey White 2015-12-2
Hi, I was able to do it by 1:) geoshow(myData,myTopoRef,'displaytype','texturemap') and 2) loading the lat, long data from usastatehi into separate vectors and then using geoshow(statesLat,statesLon,'color','k')

请先登录,再进行评论。

回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by