Re: [R] Drawing a dotted circle.

2013-01-15 Thread Greg Snow
package. > > Hope this helps, > > Jose > > > > From: r-help-boun...@r-project.org [r-help-boun...@r-project.org] On > Behalf Of Ved P. Sharma [vedsha...@gmail.com] > > Sent: 12 January 2013 07:43 > > To: r-help@r-project.org > > Subject: [R] Drawin

Re: [R] Drawing a dotted circle.

2013-01-13 Thread Ved P. Sharma
om: r-help-boun...@r-project.org [r-help-boun...@r-project.org] On Behalf > Of Ved P. Sharma [vedsha...@gmail.com] > Sent: 12 January 2013 07:43 > To: r-help@r-project.org > Subject: [R] Drawing a dotted circle. > > Hi, > > I am trying to draw a dotted circle by using sy

Re: [R] Drawing a dotted circle.

2013-01-12 Thread Majid Einian
library(Cairo) CairoWin() symbols(0, 0, circles = 1, inches = FALSE, fg = 'gray', lty=2) dev.off() the plot is ok when using Cairo, but not ok with default windows graphics device. On Sun, Jan 13, 2013 at 9:16 AM, Jim Lemon wrote: > On 01/12/2013 06:43 PM, Ved P. Sharma wrote: > >> Hi, >> >> I

Re: [R] Drawing a dotted circle.

2013-01-12 Thread Jim Lemon
On 01/12/2013 06:43 PM, Ved P. Sharma wrote: Hi, I am trying to draw a dotted circle by using symbols command: symbols(0, 0, circles = 1, inches = FALSE, fg = 'gray', lty=2) But it gives me a solid line. I was just wondering whether am I making a mistake? Hi Ved, You can draw circles on a pl

Re: [R] Drawing a dotted circle.

2013-01-12 Thread David L Carlson
p-bounces@r- > project.org] On Behalf Of Rui Barradas > Sent: Saturday, January 12, 2013 1:21 PM > To: Ben Bolker > Cc: r-h...@stat.math.ethz.ch; vedsha...@gmail.com > Subject: Re: [R] Drawing a dotted circle. > > Hello, > > In Windows it's > > .Internal(sy

Re: [R] Drawing a dotted circle.

2013-01-12 Thread Rui Barradas
Hello, In Windows it's .Internal(symbols(x, y, type, data, inches, bg, fg, ...)) And this is what I've found: file r-2.15.2\src\main\graphics.c function GSymbol /* * Force line type LTY_SOLID * i.e., current par(lty) is ignored when drawing symbols */ gc.lty = LTY_SOLID;

Re: [R] Drawing a dotted circle.

2013-01-12 Thread Ben Bolker
A wild guess which I can't check right now, but: is there something funny/different with the Windows graphics driver that draws the result of a dashed line based on many closely spaced points as a solid line? i.e., it draws a dash for the beginning of every segment within the line, even if they a

Re: [R] Drawing a dotted circle.

2013-01-12 Thread Rui Barradas
Hello, Checks ok on Ubuntu 12.04 but not on Windows 7, where it plots a solid line circle. symbols(0, 0, circles = 1, inches = FALSE, fg = 'gray', lty=2) sessionInfo() R version 2.15.2 (2012-10-26) Platform: x86_64-w64-mingw32/x64 (64-bit) locale: [1] LC_COLLATE=Portuguese_Portugal.1252 LC_CT

Re: [R] Drawing a dotted circle.

2013-01-12 Thread Ved P. Sharma
: > > HI Ved, > > I was able to get the dotted circle using the same command. I am using R > 2.15 on Ubuntu 12.04. > A.K. > > > > > - Original Message - > From: Ved P. Sharma > To: r-help@r-project.org > Cc: > Sent: Saturday, January 12, 2013 2

Re: [R] Drawing a dotted circle.

2013-01-12 Thread arun
HI Ved, I was able to get the dotted circle using the same command.  I am using R 2.15 on Ubuntu 12.04. A.K.  - Original Message - From: Ved P. Sharma To: r-help@r-project.org Cc: Sent: Saturday, January 12, 2013 2:43 AM Subject: [R] Drawing a dotted circle. Hi, I am trying to

Re: [R] Drawing a dotted circle.

2013-01-12 Thread Jose Iparraguirre
elp@r-project.org Subject: [R] Drawing a dotted circle. Hi, I am trying to draw a dotted circle by using symbols command: symbols(0, 0, circles = 1, inches = FALSE, fg = 'gray', lty=2) But it gives me a solid line. I was just wondering whether am I making a mistake? Ved [[a

Re: [R] Drawing a dotted circle.

2013-01-12 Thread Ben Bolker
Ved P. Sharma gmail.com> writes: > I am trying to draw a dotted circle by using symbols command: > > symbols(0, 0, circles = 1, inches = FALSE, fg = 'gray', lty=2) > > But it gives me a solid line. I was just wondering whether am I making a > mistake? > Works for me (although it's a dashed