Overlay digital elevation model on hillshade

4 visualizaciones (últimos 30 días)
Ajay
Ajay el 26 de Jul. de 2011
Editada: Chad Greene el 18 de En. de 2015
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?

Respuestas (3)

Walter Roberson
Walter Roberson el 27 de Jul. de 2011
Please check what your figure's 'renderer' property is set to. Transparency only works for OpenGL.

Wolfgang Schwanghart
Wolfgang Schwanghart el 2 de Ag. de 2011
Hi Ajay,
you might want to check TopoToolbox, which includes such a function.
Cheers, W.

Chad Greene
Chad Greene el 17 de En. de 2015
Editada: Chad Greene el 18 de En. de 2015
Another option is to use the shadem function.

Categorías

Más información sobre Lighting, Transparency, and Shading en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by