[R] B-W stacked area chart with pattern

hadley wickham h.wickham at gmail.com
Tue Jan 29 16:29:20 CET 2008


On Jan 29, 2008 9:12 AM, Markus Didion <markus.didion at env.ethz.ch> wrote:
> Dear all,
>
> I would like to create a stacked area chart to show the development of
> species biomass over time. Since it is intended for publication I need
> to prepare in black and white.  I have tried to modify the "stackedPlot"
> function submitted to this list by Christian Lasarczyk on Tue, 16 Aug
> 2005 using shading lines rather than colors to distinguish between the
> species. Unfortunately, the result was not very satisfying as the
> options using different angles and densities for the shading lines was
> not sufficient to clearly distinguish between species. I would thus like
> to use different pattern (or texture) for this purpose. I have searched
> the various help lists on graphics in R but was unable to find something
> appropriate.

How many species do you have?  Coming about with a good
(distinguishable) set of patterns is a difficult task.  Have you tried
just using different greys?

Hadley


-- 
http://had.co.nz/



More information about the R-help mailing list