Filter löschen
Filter löschen

Color Map with Geoshow

13 Ansichten (letzte 30 Tage)
Amanda
Amanda am 24 Aug. 2012
I am plotting a contour over the mercator(planar) world map.
And I am successful but when I use the
geoshow('landareas.shp','FaceColor', [0.5 1.0 0,5])
it eliminates the contour plot on the map.
My code is:
axesm('mercator','MapLatLimit',[-50 90],'MapLonLimit',[0 250])
frame on;
grid on;
plotm(lat,long,'k')
contourfm(x,y,z)
Is there anyway to apply the
geoshow('landareas.shp','Display',[0.5 1.0 0.5])
without losing the contour map.
Thanks,
Amanda

Antworten (1)

Walter Roberson
Walter Roberson am 24 Aug. 2012
It would look to me as if you should have a "hold on" after the plotm() call.
  1 Kommentar
Amanda
Amanda am 24 Aug. 2012
I've tried that. See the Color Map is covering up the contour map.

Melden Sie sich an, um zu kommentieren.

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by