필터 지우기
필터 지우기

apply transparency black pixels mapshow

조회 수: 3 (최근 30일)
fransec
fransec 2020년 3월 27일
Hi Everybody.
I have to produce an image with mapshow command, for then exporting on Google Earth.
figure
axesm eqdcylin
mapshow((ax),(ay),(z),'DisplayType','texturemap');
set(gca,'Xlim',[nanmin(ax(:)) nanmax(ax(:))]);
set(gca,'Ylim',[nanmin(ay(:)) nanmax(ay(:))]);
set(gca,'colormap', hot)
export_fig -r800 -a1 figexample.png
The result is here:
How can I apply transparency just to the black pixels and not to the red/yellow/orange ones? Just I need an alpha parameter?
Thank you so much!

답변 (0개)

카테고리

Help CenterFile Exchange에서 Data Import and Export에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by