Re: [R] Bar Plot ggplot2 Filling bars with cross hatching

2009-01-20 Thread Greg Snow
t: Monday, January 19, 2009 5:37 PM > To: Greg Snow > Cc: hadley wickham; R-help > Subject: Re: [R] Bar Plot ggplot2 Filling bars with cross hatching > > what is your suggestion for distinguishing between many bars without > color? I have grown up in the time of standarized te

Re: [R] Bar Plot ggplot2 Filling bars with cross hatching

2009-01-20 Thread hadley wickham
>>I disagree. Grey levels suck; labels are a kludge. It is an issue >>for ``many'' == 2, for which crosshatching works perfectly. >> > > Could you show an example? > > There are several BW examples in example(barplot), and the gray ones look > better on screen than the cross-hatch

Re: [R] Bar Plot ggplot2 Filling bars with cross hatching

2009-01-20 Thread Duncan Murdoch
tical Data Center Intermountain Healthcare greg.s...@imail.org 801.408.8111 -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r- project.org] On Behalf Of hadley wickham Sent: Thursday, January 15, 2009 10:55 AM To: stephen sefick Cc: R-help Subject: Re: [R] Bar P

Re: [R] Bar Plot ggplot2 Filling bars with cross hatching

2009-01-19 Thread Don McKenzie
al Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r- project.org] On Behalf Of hadley wickham Sent: Thursday, January 15, 2009 10:55 AM To: stephen sefick Cc: R-help Subject: Re: [R] Bar Plot ggplot2 Filling bars with cross hatching Hi Stephen, #I am putting a test together

Re: [R] Bar Plot ggplot2 Filling bars with cross hatching

2009-01-19 Thread Rolf Turner
;. -- Gregory (Greg) L. Snow Ph.D. Statistical Data Center Intermountain Healthcare greg.s...@imail.org 801.408.8111 -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r- project.org] On Behalf Of hadley wickham Sent: Thursday, January 15, 2009 10:55 AM To: stephen

Re: [R] Bar Plot ggplot2 Filling bars with cross hatching

2009-01-19 Thread Gabor Grothendieck
If classic graphics is ok try this which uses hatches and different shades of grey: barplot(lizards, names.arg = color, col = grey(c(.2, .5, 1)), density = 20, angle = c(45, -45, 0), legend = color) On Wed, Jan 14, 2009 at 10:18 PM, stephen sefick wrote: > #I am putting a test together fo

Re: [R] Bar Plot ggplot2 Filling bars with cross hatching

2009-01-19 Thread Rolf Turner
Thursday, January 15, 2009 10:55 AM To: stephen sefick Cc: R-help Subject: Re: [R] Bar Plot ggplot2 Filling bars with cross hatching Hi Stephen, #I am putting a test together for an introductory biology class and I would like to put different cross hatching inside of each bar for the bar

Re: [R] Bar Plot ggplot2 Filling bars with cross hatching

2009-01-19 Thread Duncan Murdoch
ry 15, 2009 10:55 AM To: stephen sefick Cc: R-help Subject: Re: [R] Bar Plot ggplot2 Filling bars with cross hatching Hi Stephen, #I am putting a test together for an introductory biology class and I would like to put different cross hatching inside of each bar for the bar plot below ggplot2 uses the

Re: [R] Bar Plot ggplot2 Filling bars with cross hatching

2009-01-19 Thread stephen sefick
rg > 801.408.8111 > > >> -Original Message- >> From: r-help-boun...@r-project.org [mailto:r-help-boun...@r- >> project.org] On Behalf Of hadley wickham >> Sent: Thursday, January 15, 2009 10:55 AM >> To: stephen sefick >> Cc: R-help >> S

Re: [R] Bar Plot ggplot2 Filling bars with cross hatching

2009-01-19 Thread Greg Snow
.org 801.408.8111 > -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r- > project.org] On Behalf Of hadley wickham > Sent: Thursday, January 15, 2009 10:55 AM > To: stephen sefick > Cc: R-help > Subject: Re: [R] Bar Plot ggplot2 Fillin

Re: [R] Bar Plot ggplot2 Filling bars with cross hatching

2009-01-15 Thread hadley wickham
This will be fixed in the next version, but until then you can do title = "Aquarium\n" Hadley On Wed, Jan 14, 2009 at 9:24 PM, stephen sefick wrote: > Also notice that the q in Aquarium is hidden. Is there a way to make > this not happen? > thanks > > Stephen Sefick > > On Wed, Jan 14, 2009 at

Re: [R] Bar Plot ggplot2 Filling bars with cross hatching

2009-01-15 Thread hadley wickham
Hi Stephen, > #I am putting a test together for an introductory biology class and I > would like to put different cross hatching inside of each bar for the > bar plot below ggplot2 uses the grid package to do all the drawing, and currently grid doesn't support cross-hatching, so unfortunately the

Re: [R] Bar Plot ggplot2 Filling bars with cross hatching

2009-01-14 Thread stephen sefick
Also notice that the q in Aquarium is hidden. Is there a way to make this not happen? thanks Stephen Sefick On Wed, Jan 14, 2009 at 10:18 PM, stephen sefick wrote: > #I am putting a test together for an introductory biology class and I > would like to put different cross hatching inside of each

[R] Bar Plot ggplot2 Filling bars with cross hatching

2009-01-14 Thread stephen sefick
#I am putting a test together for an introductory biology class and I would like to put different cross hatching inside of each bar for the bar plot below color <- c("Brightly Colored", "Dull", "Neither") lizards <- c(277, 70, 3) liz.col <- data.frame(color, lizards) qplot(color, lizards, data=liz