I just tested this on my windows setup and you're right - it appears to draw
2 solid circles and if you save as .png or .jpeg that's what you get in the
resultant file - but if you save as .ps or .pdf you get a dashed outer
circle.


I don't know why.

Andy. R 2.8.1



andydolman@gmail.com


2009/4/27 Christophe Dutang <dutangc@gmail.com>

> what is your service pack version?
>
> at home I use the SP2 version.
>
> Le 27 avr. 09 à 22:29, Joshua Wiley a écrit :
>
>  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?
>>
>>
>> Joshua Wiley
>>
>>
>> ---- Original message ----
>>
>>> Date: Mon, 27 Apr 2009 22:15:53 +0200
>>> From: r-help-bounces@r-project.org (on behalf of Christophe Dutang <
>>> dutangc@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.
>>>
>>
> --
> Christophe Dutang
> Ph. D. student at ISFA, Lyon, France
> website: http://dutangc.free.fr
>
> ______________________________________________
> 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.
>

	[[alternative HTML version deleted]]


