Re: [R] Change density and angle in barplot

From: Paul Murrell <p.murrell_at_auckland.ac.nz>
Date: Tue 05 Apr 2005 - 13:20:52 EST

Hi

Jan Sabee wrote:
> Dear R user,
>
> I want to change each density and angle with symbol "+","-","o","#"
> and "*". How can I do that?
>
> library(gplots)
> barplot2(VADeaths,
> density=c(5,7,11,15,17),
> angle=c(65,-45,45,-45,90),
> col = "black",
> legend = rownames(VADeaths))
> title(main = list("Death Rates in Virginia", font = 4))

There is no general support for pattern fills in R graphics. If you are really desperate to do this and are prepared to write some code yourself, please contact me off-list and I can suggest some starting points.

Paul

-- 
Dr Paul Murrell
Department of Statistics
The University of Auckland
Private Bag 92019
Auckland
New Zealand
64 9 3737599 x85392
paul@stat.auckland.ac.nz
http://www.stat.auckland.ac.nz/~paul/

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Received on Tue Apr 05 13:26:26 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:31:01 EST