im_mono | R Documentation |
Create a monotone image
im_mono(color, height, width)
color |
single numeric for grayscale images, or three numeric values for RGB (color) images. |
height |
image height |
width |
image width |
an image
plot(im_mono(0.5, 128, 128)) # a gray square plot(im_mono(c(1, 0.2, 0.2), 64, 128)) # a red rectangle
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.