Color Map with Geoshow

조회 수: 9 (최근 30일)
Amanda
Amanda 2012년 8월 24일
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

답변 (1개)

Walter Roberson
Walter Roberson 2012년 8월 24일
It would look to me as if you should have a "hold on" after the plotm() call.
  댓글 수: 1
Amanda
Amanda 2012년 8월 24일
I've tried that. See the Color Map is covering up the contour map.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Map Display에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by