Learn R Programming

rayshader (version 0.5.1)

plot_map: plot_map

Description

Displays the shaded map. If the input is an array, it uses raster's plotRGB function. If it's a matrix, it uses the

Usage

plot_map(hillshade, rotate = 0, ...)

Arguments

hillshade

Hillshade to be plotted.

rotate

Default 0. Rotates the output. Possible values: 0, 90, 180, 270.

...

Additional arguments to pass to the `raster::plotRGB` function that displays the map.

Examples

Run this code
# NOT RUN {
#Plotting a spherical texture map of the volcano dataset.
plot_map(sphere_shade(volcano))
# }

Run the code above in your browser using DataLab