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

2 vues (au cours des 30 derniers jours)
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 commentaire
Jeffrey White
Jeffrey White le 2 Déc 2015
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')

Connectez-vous pour commenter.

Réponses (0)

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by