Effacer les filtres
Effacer les filtres

Projecting imagesc function onto a map plot

5 vues (au cours des 30 derniers jours)
Kyle Chudler
Kyle Chudler le 30 Mai 2014
Commenté : Kyle Chudler le 30 Mai 2014
Hello. I'm working with plotting over a map projection with the built in mapping tools. Using contourm, I'm able to plot my geolocated data on a contour map (contourm(lat,lon,Z)). However, it takes a looonnnnnggg time to run. A function like imagesc would probably be faster.
What would be the best way to use imagesc with geolocated lat/long points?
Really, all I need is something that takes in coordinates X and Y and puts a color based on Z at that point.
ax = usamap(latlim,longlim);
states = shaperead('usastatehi','UseGeoCoords', true, 'BoundingBox', [longlim', latlim']);
geoshow(ax, states, 'FaceColor', [1 1 1])
contourm(lat,long,DBZ(:,:,1),10,'Fill', 'on') %want imagesc here
  1 commentaire
Kyle Chudler
Kyle Chudler le 30 Mai 2014
I found the function pcolor. However, it turns out much coarser than contourm...and too washed out with interpolated shading....

Connectez-vous pour commenter.

Réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by