Prof Brian Ripley wrote:
On Mon, 26 Jan 2009, Luis Torgo wrote:
Greg Snow wrote:
You may want to consider a dotchart instead of a barplot. Then you
can distinguish between groups by using symbols, grouping, and
labels rather than depending on colors/shades of grey.
Thanks Greg. The only p
On Mon, 26 Jan 2009, Luis Torgo wrote:
Greg Snow wrote:
You may want to consider a dotchart instead of a barplot. Then you can
distinguish between groups by using symbols, grouping, and labels rather
than depending on colors/shades of grey.
Thanks Greg. The only problem is that I was tryin
Greg Snow wrote:
You may want to consider a dotchart instead of a barplot. Then you can
distinguish between groups by using symbols, grouping, and labels rather than
depending on colors/shades of grey.
Thanks Greg. The only problem is that I was trying to illustrate the use
of barplot() .
801.408.8111
> -Original Message-
> From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-
> project.org] On Behalf Of Luis Torgo
> Sent: Friday, January 23, 2009 5:22 PM
> To: r-help@r-project.org
> Subject: [R] Problem with colormodel in pdf driver
>
> I'm tr
'gray' is what is in the code: 'grey' uses rgb -- just look at the pdf
produced.
The issue is that the wrong ('stroke' not 'fill') colour is set in ht
'gray' colormodel.
On Fri, 23 Jan 2009, David Winsemius wrote:
Try changing the color to "grey".
Despite the help pages saying this:
colorm
Hi Luis,
Following David's suggestion, it worked for me:
pdf('exp.pdf',colormodel='grey') # Note the change here :)
barplot(table(subset(iris,Petal.Width>1)$Species))
dev.off()
Here is my session info:
> sessionInfo()
R version 2.8.1 Patched (2009-01-01 r47434)
i386-pc-mingw32
locale:
LC_COLLA
Try changing the color to "grey".
Despite the help pages saying this:
colormodel
a character string describing the color model: currently allowed
values are "rgb", "gray" and "cmyk". Defaults to "rgb".
I got the expected behavior by making the "gray" -> "grey" change on
my Mac OS 10.5.6/R2.
I'm trying to create figures in PDF that use the 'gray' colormodel
instead of the default 'RGB' model, by requirements of a publisher.
My problem has to do with the fact that I'm not being able to get gray
colors with this option on the pdf() driver. Here is a small example for
problem replica
8 matches
Mail list logo