[R] r code to broaden the boarder of the bars of a histogram

Peter Ehlers ehlers at ucalgary.ca
Fri Jun 11 17:13:46 CEST 2010


Use truehist() in pkg:MASS.

   -Peter Ehlers

On 2010-06-11 7:09, Andreas Baranowski wrote:
> To whom it may concern,
>
> I have a problem concerning the design of a histogram. How do I change
> the border widths of the bars of a histogram. The initial command is:
>
> hist (punkte,breaks=30, xlab="Punkte", ylab="Häufigkeit",
> main="Histogramm", col= heat.colors(30), border= "red")
>
> I suspect that it has to do with the "lwd" command but can't figure it out.
>
> Kind regards,
> Andreas Baranowski
>
>
>
> University of Klagenfurt
> Universitätsstraße 65-67
> 9020 Klagenfurt
> Austria



More information about the R-help mailing list