[R] issue with plot (type="h")

Ben Bolker bolker at zoo.ufl.edu
Wed Feb 22 15:20:00 CET 2006


Gasper Cankar <gasper.cankar <at> ric.si> writes:

> 
> Hello everyone.
> 
> For reasons too long to explain I wanted to do plots similar to histograms
with plot(type="h"). 
> I ran into a problem - if I set line width too high, histogram isn't accurate
anymore.

 try par(lend=1) instead.  Far from obvious, but see
Paul Murrell's article in R News #2 of 2004

  cheers
     Ben




More information about the R-help mailing list