[R] plot with fixed axis proportion

2007-03-02 Thread Thomas Steiner
I want to plot something (eg a circle) with a fixed ratio of the x and
y axis, or (even better) with a fixed size when I print it. Output
should then be a circle (actually it'll be someting more complicated)
with radius 5cm and not an ellipse.

I'm _sure_ this is not new, but after looking 45min for a solution, I
post here...

Thanks for help
Thomas

__
R-help@stat.math.ethz.ch 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.


Re: [R] plot with fixed axis proportion

2007-03-02 Thread Gabor Grothendieck
See the aspect argument, asp, in ?plot.default .  Also eqscplot in MASS.

On 3/2/07, Thomas Steiner [EMAIL PROTECTED] wrote:
 I want to plot something (eg a circle) with a fixed ratio of the x and
 y axis, or (even better) with a fixed size when I print it. Output
 should then be a circle (actually it'll be someting more complicated)
 with radius 5cm and not an ellipse.

 I'm _sure_ this is not new, but after looking 45min for a solution, I
 post here...

 Thanks for help
 Thomas

 __
 R-help@stat.math.ethz.ch 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@stat.math.ethz.ch 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.


Re: [R] plot with fixed axis proportion

2007-03-02 Thread Greg Snow
Your question can be interpreted a couple of ways, Gabor gave you the
answer to one of those interpretations.  Another interpretation of your
question makes it the same as one that was asked earlier in the week
with the subject: PLotting R graphics/symbols without user x-y
scaling, looking at that question and the replies to it should help if
that is the correct interpretation of your question.

Hope this helps,

-- 
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
[EMAIL PROTECTED]
(801) 408-8111
 
 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Thomas Steiner
 Sent: Friday, March 02, 2007 10:49 AM
 To: r-help@stat.math.ethz.ch
 Subject: [R] plot with fixed axis proportion
 
 I want to plot something (eg a circle) with a fixed ratio of 
 the x and y axis, or (even better) with a fixed size when I 
 print it. Output should then be a circle (actually it'll be 
 someting more complicated) with radius 5cm and not an ellipse.
 
 I'm _sure_ this is not new, but after looking 45min for a 
 solution, I post here...
 
 Thanks for help
 Thomas
 
 __
 R-help@stat.math.ethz.ch 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@stat.math.ethz.ch 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.