[R] How to convert color to black & white

From: Muhammad Subianto <subianto_at_gmail.com>
Date: Sat 14 May 2005 - 04:40:05 EST


Dear all,
Could someone please explain to me how to convert color to black & white. For example:
barplot(1:5,col = rainbow(5))
Because I need to print my plot to save my ink color printer. I don't want to convert to grayscale, but keep it as an RGB. I would be very happy if anyone could help me. Thank you very much in advance.

Kindly regards,
Muhammad Subianto



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Sat May 14 04:46:09 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:31:45 EST