[R] problem with symbol function

Duncan Murdoch murdoch at stats.uwo.ca
Mon Apr 27 23:12:18 CEST 2009


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-bounces at r-project.org (on behalf of Christophe Dutang <dutangc at gmail.com>)
>> Subject: [R] problem with symbol function  
>> To: r-help at 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 at 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 at 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.



More information about the R-help mailing list