How do I make data transparent Matlab 2016b?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
I am trying to plot surface pressure data over a map projection from m_map toolbox. How can I make the data transparent, so the landscape beneath it remains unobscured? Here is what I have so far.
figure
m_proj('stereographic','lat',90,'long',30,'radius',25);
m_ibcao('contour',[-3500:1000:-500],'b');
m_contourf (longitude,latitude,mean(sst(1:480,1:241,ice1time),3)')
m_contour (longitude,latitude,mean(sst(1:480,1:241,ice1time),3)','k')
colorbar
colormap jet
caxis([-1,10])
m_grid('xtick',12,'tickdir','out','ytick',[70 80],'linest','-');
2 Kommentare
Rik
am 14 Jul. 2018
Hidden inside those functions, there's probably a patch or surf call, so you should be able to dig out the object and set the AlphaData property.
Antworten (0)
Siehe auch
Kategorien
Mehr zu Lighting, Transparency, and Shading finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!