[R] How to change the color of the bar lines of a histogram?

Uwe Ligges ligges at statistik.tu-dortmund.de
Thu Aug 18 13:22:41 CEST 2011


Read further on and find "border":


  hist(rnorm(10), border="yellow")


Uwe Ligges

On 18.08.2011 13:14, Paul Smith wrote:
> Dear All,
>
> How to change the color of the bar lines of a histogram? I have read
>
> ?hist
>
> which mentions the parameter 'col', but this one is to configure the
> color of the bars filling.
>
> Thanks in advance,
>
> Paul
>
> ______________________________________________
> R-help at r-project.org 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.



More information about the R-help mailing list