[R] Line width in graphs

Peter Dalgaard BSA p.dalgaard at biostat.ku.dk
Tue Jun 18 09:07:54 CEST 2002


Yves Brostaux <brostaux.y at fsagx.ac.be> writes:

> Hi,
> 
> I'm using R to plot some data and associated linear models, and I was
> wondering if there was a parameter to fix the line width in the graphs
> (for axis, lines, ...) because I explored the associated help pages
> and could not find it.
> 
> Thx in advance,

It's "lwd", as in 

par(lwd=3,cex=1.5) ; plot(rnorm(20))
abline(h=0,lwd=2,lty="dotted")

which gives a style that might be more readable from the back row
during presentations.

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)             FAX: (+45) 35327907
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list