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 <j...@bitwrit.com.au> wrote:

> 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 plot using the draw.circle (plotrix) function.
> If the problem is the method of drawing broken lines as suggested by Ben
> Bolker, you may be able to get broken lines on Windows by using smaller
> values in the "nv" argument. By decreasing the number of line segments used
> to draw the circle, the breaks should appear.
>
> Jim
>
>
> ______________________________**________________
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/**listinfo/r-help<https://stat.ethz.ch/mailman/listinfo/r-help>
> PLEASE do read the posting guide http://www.R-project.org/**
> posting-guide.html <http://www.R-project.org/posting-guide.html>
> and provide commented, minimal, self-contained, reproducible code.
>



-- 
Majid Einian,
PhD Student in "Economics",
Graduate School of Management and Economics,
Sharif University of Technology,
Tehran, IRAN

        [[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.

Reply via email to