Mapping toolbox geoshow; superimposing US state boundaries but transparent state regions
5 次查看(过去 30 天)
显示 更早的评论
I am running R2014b on an iMac running OS X Yosemite.
I need to be able to overlay state boundaries on maps of precipitation over the CONUS. I used to be able to do this using R2013a. However, now the overlay is not transparent. Therefore, the precipitation map is completely covered. I am using the following script lines:
states = shaperead('usastatelo', 'UseGeoCoords', true); figure('Name','HUC-4s',... 'Position',[scrsz(1) 0 scrsz(3) scrsz(4)]); axesm ('eqaconic','MapLatLimit',[15 55],'MapLonLimit',[-130 -60]); worldmap([24 51],[-126 -66]); framem off gridm on surfacem(lat,lon,map); geoshow('worldrivers.shp', 'Color', 'blue'); geoshow(states,'FaceColor',[1,1,1]);
Would you let me know how to overlay just the state boundaries? Thank you very much for your help with this.
Jorge
0 个评论
采纳的回答
Chad Greene
2014-10-29
Have you set any facealpha values?
geoshow(states,'FaceColor',[1,1,1],'facealpha',.3);
Also, with any transparency issues, this is a good trick to keep up your sleeve. It's always worth trying:
set(gcf,'renderer','opengl')
0 个评论
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!