Learn R Programming

rayimage (version 0.2.3)

plot_image: Plot Image

Description

Displays the image in the current device.

Usage

plot_image(input, rotate = 0, keep_user_par = FALSE, ...)

Arguments

input

Image or filename of an image to be plotted.

rotate

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

keep_user_par

Default TRUE. Whether to keep the user's par() settings. Set to FALSE if you want to set up a multi-pane plot (e.g. set par(mfrow)).

...

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

Examples

Run this code
# NOT RUN {
#Plot the dragon array
plot_image(dragon)
# }

Run the code above in your browser using DataLab