[R] Change density and angle in barplot

Jan Sabee jan.sabee at gmail.com
Mon Apr 4 13:04:20 CEST 2005


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))

Thanks for your help.
Jan Sabee




More information about the R-help mailing list