[R] plotting to postscript: how to control line width ?

ryszard.czerminski@pharma.novartis.com ryszard.czerminski at pharma.novartis.com
Tue Nov 25 20:42:50 CET 2003

When I use
plot(..., type = "line")  then ldw parameter makes a difference...

Because of large number of points overlapping I simply han an impression
before that I am getting thick line...


Ryszard Czerminski/PH/Novartis at PH
Sent by: r-help-bounces at stat.math.ethz.ch
11/25/2003 01:34 PM

        To:     r-help at stat.math.ethz.ch
        Subject:        [R] plotting to postscript: how to control line width ?

How to control line width ?

if I do:

> postscript("IC50-density.eps", width = 4.0, height = 3.0, horizontal = 
FALSE, onefile = FALSE, paper = "special", title = "IC50 distribution")
> plot(d$x, d$y, xlab = "-log10(IC50)", ylab = "density")
> lines(d$x, d$y, lwd = 0.1)
> dev.off()

but whatever value I give for ldw parameter (e.g. 0.1 or 10) I am getting 
the same line width ?!

R-help at stat.math.ethz.ch mailing list

More information about the R-help mailing list