[R] Bar Plot ggplot2 Filling bars with cross hatching

stephen sefick ssefick at gmail.com
Tue Jan 20 01:36:51 CET 2009


what is your suggestion for distinguishing between many bars without
color?  I have grown up in the time of standarized tests - good or bad
I never felt nauseous.

Stephen

On Mon, Jan 19, 2009 at 5:20 PM, Greg Snow <Greg.Snow at imail.org> wrote:
> I think the fact that the grid package does not support cross-hatching is a feature not a bug (or deficiency), and I hope that this is not "fixed".  Tufte's book (The Visual Display of Quantitative Information) has a section on why cross-hatching should be avoided (unless of course your goal is to induce nausea in the observer rather than convey information).
>
> I would edit Hadley's statement below to say "fortunately there's no way to do this in ggplot2".
>
> --
> Gregory (Greg) L. Snow Ph.D.
> Statistical Data Center
> Intermountain Healthcare
> greg.snow at imail.org
> 801.408.8111
>
>
>> -----Original Message-----
>> From: r-help-bounces at r-project.org [mailto:r-help-bounces at 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 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 there's no way
>> to do this in ggplot2.
>>
>> Regards,
>>
>> Hadley
>>
>> --
>> http://had.co.nz/
>>
>> ______________________________________________
>> R-help at r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-help
>> PLEASE do read the posting guide http://www.R-project.org/posting-
>> guide.html
>> and provide commented, minimal, self-contained, reproducible code.
>



-- 
Stephen Sefick

Let's not spend our time and resources thinking about things that are
so little or so large that all they really do for us is puff us up and
make us feel like gods.  We are mammals, and have not exhausted the
annoying little problems of being mammals.

								-K. Mullis




More information about the R-help mailing list