[R] lty=2

Guido Masarotto guido at hal.stat.unipd.it
Wed Mar 10 18:41:03 CET 1999


On Wed, Mar 10, 1999 at 03:14:08PM +0000, Simon  Bond wrote:
> Dear all,
> 
> I'm using R 63.2 on windows NT, when I use
> 
> > lines(x,y, lty=2)
> 
> it produces a dashed line between the first pair of points and then reverts
> back to a solid line. It produces different colours perfectly ok, but it's
> not really a solution when the plot needs to be printed on a black and
> white printer. Has anyone got a fix?
  
  I have tried a moment ago with rw0632 (Win95) the following lines:
> x<-rnorm(100)
> x<-seq(100)
> y<-rnorm(100)
> plot(x,y)
> lines(x,y,lty=2)
  but I cannot reproduce what you describe. Can you send me more
  detail on your system (and, please, try the graphics demo,
  just 'demo(graphics)' <ret>, first plot should show dotted
  lines).

  guido


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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