My apologies; I did not use exactly his code. I usually plot directly to postscript files. Since when I manipulated the lty argument, I got the expected results (via postscript), everything seemed in order. It never occurred to me that postscript would not give me the same view. I am very sorry for the inconvenience.
Joshua Wiley ---- Original message ---- >Date: Mon, 27 Apr 2009 17:12:18 -0400 >From: Duncan Murdoch <murd...@stats.uwo.ca> >Subject: Re: [R] problem with symbol function >To: Joshua Wiley <jwile...@ucr.edu> >Cc: r-help@r-project.org, Christophe Dutang <duta...@gmail.com> > >On 27/04/2009 4:29 PM, Joshua Wiley wrote: >> Hi Christophe, >> >> I am able to plot dashed circles on Windows. I'm afraid I do not have any >> suggestions for you. What happens when you try to plot it on Windows? > >Were you using the same code as Christophe? I see what he saw: the >circle comes out with a solid line. > >Duncan Murdoch > >> >> >> Joshua Wiley >> >> >> ---- Original message ---- >>> Date: Mon, 27 Apr 2009 22:15:53 +0200 >>> From: r-help-boun...@r-project.org (on behalf of Christophe Dutang >>> <duta...@gmail.com>) >>> Subject: [R] problem with symbol function >>> To: r-help@r-project.org >>> >>> Hi all, >>> >>> I use the symbol functions to draw circles. But the argument lty does >>> not work on windows but works correctly on my macbook: >>> >>> x <- -4:4 >>> y <- -4:4 >>> >>> plot(x,y,type="n") >>> >>> symbols(0, 0, add = TRUE, circles = 1, inches = 1, fg="black", >>> lty="solid") >>> >>> symbols(0, 0, add = TRUE, circles = 1, inches = 2, fg="black", >>> lty="dashed") >>> >>> >>> The second circle should be drawn with dash... it works on my macbook >>> but on my PC. >>> >>> I use R 2.9.0 on windows xp home and mac os 10.5. >>> >>> Does anyone have this problem? is it a limitation of windows? >>> >>> thanks in advance >>> >>> >>> Christophe >>> >>> -- >>> Christophe Dutang >>> Ph. D. student at ISFA, Lyon, France >>> website: http://dutangc.free.fr >>> >>> >>> >>> >>> >>> [[alternative HTML version deleted]] >>> >>> ______________________________________________ >>> R-help@r-project.org mailing list >>> https://stat.ethz.ch/mailman/listinfo/r-help >>> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html >>> and provide commented, minimal, self-contained, reproducible code. >> >> ______________________________________________ >> R-help@r-project.org mailing list >> https://stat.ethz.ch/mailman/listinfo/r-help >> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html >> and provide commented, minimal, self-contained, reproducible code. > ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.