ReliefPlot
ReliefPlot[array]
generates a relief plot of an array of height values.
Details and Options
- ReliefPlot[array] arranges successive rows of array up the page, and successive columns across.
- ReliefPlot has the same options as Graphics, with the following additions and changes: [List of all options]
-
AspectRatio Automatic ratio of height to width Axes False whether to draw axes BoxRatios Automatic effective 3D bounding box ratios ClippingStyle None how to draw clipped parts of the surface ColorFunction Automatic how to determine the color of surfaces ColorFunctionScaling True whether to scale arguments to ColorFunction DataRange Automatic the range of and values to assume for data DataReversed False whether to reverse the order of rows Frame True whether to draw a frame around the plot FrameTicks None what ticks to include on the frame LightingAngle Automatic effective angle of the simulated light source MaxPlotPoints Automatic the maximum number of points to include Mesh False whether to draw a mesh MeshStyle Automatic the style for mesh lines Method Automatic the method to use PerformanceGoal $PerformanceGoal aspects of performance to try to optimize PlotLegends None legends for surfaces PlotRange {Full,Full,All} the range of values or other values to include PlotRangeClipping True whether to clip at the plot range PlotRangePadding Automatic how much to pad the range of values PlotTheme $PlotTheme overall theme for the plot - In ReliefPlot[array], array must be a rectangular array, with each element a single real number representing a value.
- There will be holes in the surface corresponding to array elements that do not represent explicit height values.
- ReliefPlot[array] by default takes the and coordinate values for each data point to be successive integers starting at 1. Other coordinates can be specified using DataRange.
- Possible settings for Method include "DiffuseReflection" and "AspectBasedShading".
- With some settings for PerformanceGoal, other specific option settings may be overridden.
-
AlignmentPoint Center the default point in the graphic to align with AspectRatio Automatic ratio of height to width Axes False whether to draw axes AxesLabel None axes labels AxesOrigin Automatic where axes should cross AxesStyle {} style specifications for the axes Background None background color for the plot BaselinePosition Automatic how to align with a surrounding text baseline BaseStyle {} base style specifications for the graphic BoxRatios Automatic effective 3D bounding box ratios ClippingStyle None how to draw clipped parts of the surface ColorFunction Automatic how to determine the color of surfaces ColorFunctionScaling True whether to scale arguments to ColorFunction ContentSelectable Automatic whether to allow contents to be selected CoordinatesToolOptions Automatic detailed behavior of the coordinates tool DataRange Automatic the range of and values to assume for data DataReversed False whether to reverse the order of rows Epilog {} primitives rendered after the main plot FormatType TraditionalForm the default format type for text Frame True whether to draw a frame around the plot FrameLabel None frame labels FrameStyle {} style specifications for the frame FrameTicks None what ticks to include on the frame FrameTicksStyle {} style specifications for frame ticks GridLines None grid lines to draw GridLinesStyle {} style specifications for grid lines ImageMargins 0. the margins to leave around the graphic ImagePadding All what extra padding to allow for labels etc. ImageSize Automatic the absolute size at which to render the graphic LabelStyle {} style specifications for labels LightingAngle Automatic effective angle of the simulated light source MaxPlotPoints Automatic the maximum number of points to include Mesh False whether to draw a mesh MeshStyle Automatic the style for mesh lines Method Automatic the method to use PerformanceGoal $PerformanceGoal aspects of performance to try to optimize PlotLabel None an overall label for the plot PlotLegends None legends for surfaces PlotRange {Full,Full,All} the range of values or other values to include PlotRangeClipping True whether to clip at the plot range PlotRangePadding Automatic how much to pad the range of values PlotRegion Automatic the final display region to be filled PlotTheme $PlotTheme overall theme for the plot PreserveImageOptions Automatic whether to preserve image options when displaying new versions of the same graphic Prolog {} primitives rendered before the main plot RotateLabel True whether to rotate y labels on the frame Ticks Automatic axes ticks TicksStyle {} style specifications for axes ticks
List of all options
Examples
open allclose allBasic Examples (3)
Scope (14)
Data (6)
By default, the and data ranges are taken to be integer values:
Provide explicit and data ranges by using DataRange:
Reverse the data range by using DataReversed:
Use MaxPlotPoints to limit the number of points used:
Options (48)
BoxRatios (3)
ClippingStyle (4)
ColorFunction (6)
ColorFunctionScaling (1)
DataRange (2)
LightingAngle (4)
MaxPlotPoints (2)
ReliefPlot normally uses all the points in the dataset:
Mesh (5)
MeshStyle (3)
Mesh lines are partially transparent by default:
Use red dashed lines for meshes:
Individually styled mesh lines can be used together with MeshStyle, and have higher priority:
Method (2)
PerformanceGoal (2)
PlotLegends (6)
Use an automatic legend to show the heights:
PlotLegends automatically picks up ColorFunction and ColorFunctionScaling values:
Use BarLegend to change legend appearance:
Add a legend to a plot using an unscaled color function:
Use Placed to change legend placement:
PlotRange (5)
Normally, ReliefPlot uses all points to compute the range:
Automatically compute the range and clip extreme portions of it:
Use an explicit range and range to focus on areas of interest:
PlotRangeClipping (1)
Clip the plot at PlotRange:
Properties & Relations (3)
Some Import functions use ReliefPlot to display elevation maps with shaded relief:
Use GeoDensityPlot to color a map:
Use ArrayPlot3D for 3D arrays of data:
Possible Issues (1)
Text
Wolfram Research (2007), ReliefPlot, Wolfram Language function, https://reference.wolfram.com/language/ref/ReliefPlot.html (updated 2014).
CMS
Wolfram Language. 2007. "ReliefPlot." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2014. https://reference.wolfram.com/language/ref/ReliefPlot.html.
APA
Wolfram Language. (2007). ReliefPlot. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ReliefPlot.html