[R] How to convert color to black & white

Muhammad Subianto subianto at gmail.com
Mon May 16 11:38:42 CEST 2005

Thank's you very much.
But I need the plot with color not gray.

Best wishes,
Muhammad Subianto

On this day 5/14/2005 3:05 AM, OlsenN at pac.dfo-mpo.gc.ca wrote:

>Here's one option:
>Norm Olsen
>Fisheries and Oceans Canada
>-----Original Message-----
>From: r-help-bounces at stat.math.ethz.ch
>To: R-help at stat.math.ethz.ch
>Sent: 5/13/2005 11:40 AM
>Subject: [R] How to convert color to black & white
>Dear all,
>Could someone please explain to me how to convert color to black &
>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 at stat.math.ethz.ch mailing list
>PLEASE do read the posting guide!

More information about the R-help mailing list