Overlay digital elevation model on hillshade

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?

Antworten (3)

Walter Roberson
Walter Roberson am 27 Jul. 2011

0 Stimmen

Please check what your figure's 'renderer' property is set to. Transparency only works for OpenGL.
Wolfgang Schwanghart
Wolfgang Schwanghart am 2 Aug. 2011

0 Stimmen

Hi Ajay,
you might want to check TopoToolbox, which includes such a function.
Cheers, W.
Chad Greene
Chad Greene am 17 Jan. 2015
Bearbeitet: Chad Greene am 18 Jan. 2015

0 Stimmen

Another option is to use the shadem function.

Produkte

Gefragt:

am 26 Jul. 2011

Bearbeitet:

am 18 Jan. 2015

Community Treasure Hunt

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

Start Hunting!

Translated by