[R] plot 2D matrix of RGB values
Martin Batholdy
batholdy at googlemail.com
Fri Jan 8 16:07:08 CET 2016
Hi,
I have a 2 dimensional matrix with RGB values and would like to plot it as a two dimensional surface.
I am aware of functions like image() that plot a matrix of values as a grid of coloured rectangles.
But I can not directly feed in the specific color value for each of these rectangles, as far as I understand.
Is there an easy way to just take a matrix of color values and plot it in R?
Thank You!
More information about the R-help
mailing list