Description Usage Arguments Value See Also Examples
Plotting an RGB array on the graphics.
1 |
rgbArray |
RGB array (W x H x 3) where the third dimension contains R, G and B channels, values varying from 0 to 1. |
xlim |
range of the x axis. |
ylim |
range of the y axis. |
... |
graphical parameters passed to the plot function |
a rasterImage output plotted on the base R graphics.
plotRGBArray
wraps the graphics::rasterImage
function
1 2 3 | library(jpeg)
img <- readJPEG(system.file("img", "Rlogo.jpg", package="jpeg"))
plotRGBArray(img)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.