This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

ReliefImage

ReliefImage[array]
generates a relief image of an array of height values.
ClippingStyle{Black,White}how to draw clipped parts of the surface
ColorFunctionAutomatichow to determine the color of surfaces
ColorFunctionScalingTruewhether to scale arguments to ColorFunction
ImageSizeAutomaticthe default displayed size
LightingAngleAutomaticeffective angle of the simulated light source
MethodAutomaticthe method to use
PlotRangeAllthe range of height values to include
  • In ReliefImage[array], array must be a rectangular array, with each element a single real number representing a value.
  • Possible settings for Method include and .
Use elevation data to display shaded terrain:
Relief shading of an image to enhance details:
Display density data with shading:
Use elevation data to display shaded terrain:
In[1]:=
Click for copyable input
Out[1]=
 
Relief shading of an image to enhance details:
In[1]:=
Click for copyable input
Out[1]=
 
Display density data with shading:
In[1]:=
Click for copyable input
Out[1]=
Shadings with no color:
Use predefined gradients:
Clipped regions are not shown by default:
Use pink to fill the clipped regions:
Use gray where the surface is clipped at the top and purple where it is clipped at the bottom:
Shadings with no color:
Color by scaled coordinate:
Specify gray-level intensity by scaled coordinate:
Named color gradients color in the direction:
Use brightness to correspond to the height or density of a function:
By default, the simulated lighting is placed at , or the top-left corner, with altitude :
Place the light source at 180°, or the left side:
Place the light source at 0°, or the right side of the map, with altitude:
The result with no shading:
Normally, the method is used for shading:
Use the method:
Normally, ReliefImage uses all points to compute the range:
Automatically compute the range and clip extreme portions of it:
Specify the range to emphasize features:
Define two consecutive datasets:
Due to -value scaling, two results may not be consistent:
By specifying the same plot range, two results become consistent with each other:
A sum of quotients of norms seen in relief:
Sample a sum of five sine waves in random directions:
New in 8