,length=5)))
Norm Olsen
Fisheries and Oceans Canada
-Original Message-
From: [EMAIL PROTECTED]
To: R-help@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
white.
For example
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.
Muhammad,
Here's one option:
barplot(1:5,col=gray(seq(0,1,length=5)))
Norm Olsen
Fisheries and Oceans Canada
-Original Message-
From: [EMAIL PROTECTED]
To: R-help@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