On Wed, 10 Mar 1999, Guido Masarotto wrote:
>
> 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).
I have experienced the same problem as Simon. Here is a very simple
example:> occup
[1] 0.561 0.702 0.800 0.568 0.575 0.738 0.868 0.605 0.594 0.738 0.729 0.600
0.622 0.708
[15] 0.806 0.632 0.665 0.835 0.873 0.670> m.a.occup
[1] NA NA 0.659500 0.665750 0.678750 0.691875 0.698875 0.701250
0.683875
[10] 0.665875 0.668750 0.668500 0.674375 0.688000 0.697375 0.718625 0.742875
0.756000
[19] NA NA> plot(occup)
> lines(occup)
> lines(m.a.occup,lty=2)
David Scott
_________________________________________________________________
David Scott Division of Science and Technology, Tamaki Campus
The University of Auckland, PB 92019
Auckland NEW ZEALAND
Phone: +64 9 373 7599 ext 6830 Fax: +64 9 308 2377 or 373 7001
Email: d.scott at Auckland.ac.nz or dscott at scitec.auckland.ac.nz
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._