kerry1912 wrote on 11/29/2011 09:51:34 AM:>
> I'm using a histogram and want to overlay this onto a barplot. I need
the> histogram lines to be thicker in order for it to stand out more on top
of> the barplot. Is there a command in order to do this?
>
> Thanks in advance.
This topic has been discussed previously in r-help. See below ...
Jean
http://tolstoy.newcastle.edu.au/R/e10/help/10/06/8175.html
From: Petr PIKAL
Date: 11 Jun 2010
Hi
Look at the source code.
graphics:::plot.histogram
You can find that boxes are actually drawn by rect
So if you want to use standard graphics, you probably need to modify
source code and set up your version of plot.histogram.
Maybe with ggplot2 package you can find some way how to do what you want
but you shall check yourself.
Regards
Petr
[[alternative HTML version deleted]]