powered by
Displays the image in the current device.
plot_image(input, rotate = 0, keep_user_par = FALSE, ...)
Image or filename of an image to be plotted.
Default 0. Rotates the output. Possible values: 0, 90, 180, 270.
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)).
TRUE
par()
FALSE
par(mfrow)
Additional arguments to pass to the raster::plotRGB function that displays the map.
raster::plotRGB
# NOT RUN { #Plot the dragon array plot_image(dragon) # }
Run the code above in your browser using DataLab