I find, viewing the output with ghostview, that lty="2","3", or "4" gives the same dashed line. So basically you have choice of solid ("1") or dashed ("2","3","4"). If this is not implemented yet, maybe the docs should reflect it? Hmm now I tried plotting with both lty="2" and lty="3" for two separate functions on one plot, and the lty="2" one is invisible now. This looks like a bug in the snapshot. Thanks for any help. Bill Simpson -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Sorry, my previous message said using lty="2" made line disappear. Wrong. What happens is that "2" is dots "3" is dashes BUT docs say "2" is dashes "3" is dots So there is an error in the docs. Bill -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Thank you, Bill, for your reports ("lwd" and "lty"). In the future, would you please indicate exactly which version of R you are using? "lwd": in 0.61.x, it only works for x11/X11, not for postscript. in 0.62.x it should work in all cases, also in combination with lty. lty : Could n't your problem of seeing just one kind of dot-dashes be a problem of screen / device resolution alone? Thanks again for these bug reports; at the moment we are interested increasingly more and more for report about 0.62. But even there -- since we are now in a "fixing" mode -- you have to indicate the version (date) that you are using. Martin -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
I am using [1] "Unstable-snapshot" $status.rev [1] "0" $major [1] "0" $minor [1] "62.0" $year [1] "1998" $month [1] "April" $day [1] "12" If I do: plot(x,y, type="l") par(lwd=4) lines(tt,pts) The 2nd curve does appear to be heavy (correct line width) in X11 window, however saved plot (dev.print) uses just single pixel line width (as seen when viewed in ghostview or when printed out). So if lwd is supposed to work in version .62.0, then there is a bug. Or else I need a newer snapshot. As for lty, this was just a confusion of lty="2" and lty=2, etc, as Peter said. Yes as you say Martin the screen resolution does enter into it, but I was basing my comments on printouts. Bill -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Martin Maechler
1998-Jun-05 06:35 UTC
lwd -- for PostScript -- only in very recent snapshots
>>>>> "Bill" == Bill Simpson <wsimpson@uwinnipeg.ca> writes:Bill> I am using [1] "Unstable-snapshot" Bill> $status.rev [1] "0" Bill> $major [1] "0" Bill> $minor [1] "62.0" Bill> $year [1] "1998" Bill> $month [1] "April" Bill> $day [1] "12" Bill> If I do: plot(x,y, type="l") par(lwd=4) lines(tt,pts) Bill> The 2nd curve does appear to be heavy (correct line width) in X11 Bill> window, however saved plot (dev.print) uses just single pixel Bill> line width (as seen when viewed in ghostview or when printed Bill> out). Bill> So if lwd is supposed to work in version .62.0, then there is a Bill> bug. Or else I need a newer snapshot. ^^^^^^^^^^^^^^^^^^^^^^^ exactly. "lwd" for PostScript only works for a week or so: On May 27, Paul Murrell wrote to R-core PM> The Postscript device driver has been modified so that it now takes PM> notice of the current line width PM> PM> Also, the line texture specification (or line type) is now scaled for PM> the current line width for both X11 and PostScript graphics PM> PM> the best way to see the difference is to do PM> PM> plot(1:10, lty=3, lwd=3, type="l") # to see X11 version PM> dev.print() # to get postscript version -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._