Overlay digital elevation model on hillshade

6 ビュー (過去 30 日間)
Ajay
Ajay 2011 年 7 月 26 日
編集済み: Chad Greene 2015 年 1 月 18 日
I'd like to overlay a DEM on a (grayscale) hillshade, as is commonly done in ArcGIS. I've been trying to do this by plotting both and setting the transparency of the DEM (AlphaData) equal to the hillshade values (which range from 0 to 1). Not working. Any ideas?

回答 (3 件)

Walter Roberson
Walter Roberson 2011 年 7 月 27 日
Please check what your figure's 'renderer' property is set to. Transparency only works for OpenGL.

Wolfgang Schwanghart
Wolfgang Schwanghart 2011 年 8 月 2 日
Hi Ajay,
you might want to check TopoToolbox, which includes such a function.
Cheers, W.

Chad Greene
Chad Greene 2015 年 1 月 17 日
編集済み: Chad Greene 2015 年 1 月 18 日
Another option is to use the shadem function.

Community Treasure Hunt

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

Start Hunting!

Translated by