On 19-Jan-09, at 4:59 PM, Rolf Turner wrote:


On 20/01/2009, at 1:46 PM, Duncan Murdoch wrote:

On 19/01/2009 7:36 PM, stephen sefick wrote:
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.

Use gray levels or labels. If "many" is bigger than 5, it's not going
to be easy, whatever method you are using.

        I disagree.  Grey levels suck; labels are a kludge.  It is an issue
        for ``many'' == 2, for which crosshatching works perfectly.

                cheers,

                        Rolf

I believe Tufte had negative things to say about barplots, hatched or not. He said something to the effect of "Why use a two-dimensional rectangle to represent a one- dimensional data point?"

What about a dotplot with a different symbol for each of what would have been hatched rectangles? That reduces the ink/information ratio (which I believe was also a concern of Tufte's).

Don


Duncan Murdoch


Stephen

On Mon, Jan 19, 2009 at 5:20 PM, Greg Snow <greg.s...@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.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 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@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.




______________________________________________
R-help@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.


######################################################################
Attention:\ This e-mail message is privileged and confid... {{dropped:9}}

______________________________________________
R-help@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.

Don McKenzie, Research Ecologist
Pacific WIldland Fire Sciences Lab
US Forest Service

Affiliate Professor
College of Forest Resources
CSES Climate Impacts Group
University of Washington

desk: 206-732-7824
cell: 206-321-5966
d...@u.washington.edu
donaldmcken...@fs.fed.us

______________________________________________
R-help@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.

Reply via email to