[R] simple bar plot question

Stephen Tucker brown_emu at yahoo.com
Fri Mar 23 20:13:03 CET 2007


I think you can set legend=FALSE in barplot() and add your own legend, in
which you have a lot more control:

barplot(#your arguments#,legend=FALSE)
legend(x="topleft",cex=yourCex)

etc.




--- Janet <jerosenb at fas.harvard.edu> wrote:

> Literally 60 seconds after I sent my question, I found the cex.names  
> parameter to barplot.
> I haven't found a parameter for the size of the text in the legend.
> 
> Apologies for clogging inboxes semi-unnecessarily.
> 
> Janet
> 
> ______________________________________________
> R-help at 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
> and provide commented, minimal, self-contained, reproducible code.
> 



 
____________________________________________________________________________________
Finding fabulous fares is fun.



More information about the R-help mailing list