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! ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.