Plot a matrix representing a Grey-scale image or a 3-dimensional array representing a RGB image.
1 |
x |
a matrix of data values for Grey-scale images and a 3-dimensional array for RGB images. |
max |
the maximum value of Grey/RGB colour scale (default 255 for integer values in the range [0, 255]; another common value is 1 for values in the range [0, 1]. |
mar |
the margin used in the base R graphic. |
restore.par |
logical, if TRUE the previous par() of graphical window are restored. |
... |
additional arguments to be passed to the low level functions. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.