lty
Bill Simpson <wsimpson@uwinnipeg.ca> writes:
lty=1 solid lty=2 dashed lty=3 dotted lty=4 dotdashed lty="1" pattern: 1 "dot" on, 1 "dot" off lty="2" pattern: 2 "dots" on, 2 "dots" off lty="3" pattern: 3 "dots" on, 3 "dots" off lty="32" pattern: 3 "dots" on, 2 "dots" off lty="124" pattern: 1 on, 2 off, 4 on, 1 off, 2 on, 4 off, ...and so forth...
Peter, to me (and this is English language) "dot" is shorter than "dash"! .-.-- dot dash dot dash dash.
Sure
So "dot" SHOULD be label for lty="2" pattern: 2 "dots" on, 2 "dots" off And "dash" SHOULD be label for lty="3" pattern: 3 "dots" on, 3 "dots" off. Since dot is shorter than dash.
Look again: 2 is a number, selecting one of 4 preset patterns, "2" is a character, specifying the pattern directly. Try plot(1:10,type='l',lty=2,lwd=4) plot(1:10,type='l',lty=3,lwd=4) plot(1:10,type='l',lty='2',lwd=4) plot(1:10,type='l',lty='3',lwd=4)
This is answer to previous posting on lwd. So it is there, just not documented. Thanks.
In the snapshots, it is there... Don't know if it works on postscript yet, though.
O__ ---- Peter Dalgaard Blegdamsvej 3 c/ /'_ --- Dept. of Biostatistics 2200 Cph. N (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk) FAX: (+45) 35327907 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-devel 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-devel-request@stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._