On 07/20/2012 12:33 AM, Stuart Leask wrote:
You're right - easily tested by just re-sizing the graphics box - sort of 
counter-intuitive until I remember the clue is in the name - this generates a 
CIRCLE, come what may...

Stuart

From: Sarah Goslee [mailto:sarah.gos...@gmail.com]
Sent: 19 July 2012 11:18
To: Stuart Leask
Cc: r-help@r-project.org
Subject: Re: [R] 'symbols' not plotting correct circle radii



On Thursday, July 19, 2012, Stuart Leask wrote:
(Oh, and yes I've tried setting 'inches=F', but I then get a circle correct on 
X axis,  but too large on the Y axis.)

We're back to "read the help." ?symbols explictly states that if inches=FALSE 
and the axis scales are different, then the x axis coordinates will be used.

And if your axes are different, why would you expect a *circle* to fit both 
simultaneously?

Perhaps instead you need plot.ellipse from the plotrix package.


Hi all,
You might want to use draw.circle from the plotrix package, as it tries to compensate for different axis scales.

Jim

______________________________________________
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