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


r-help-boun...@r-project.org napsal dne 11.06.2010 15:09:21:

> 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
> 
> ______________________________________________
> R-help@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.

______________________________________________
R-help@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.

Reply via email to