Prof. Ripley,
Maybe the fact that few R plot regions have a 1:1 aspect ratio
is not a major problem here. One has to deal with the same
issue when drawing a circle parametrically. Depending on the
window size, a (cos(t),sin(t)) plot appears as an ellipse.
To get a circle parametrically, one has
On Tue, 8 May 2007, Paulo Barata wrote:
Prof. Ripley,
Maybe the fact that few R plot regions have a 1:1 aspect ratio
is not a major problem here. One has to deal with the same
issue when drawing a circle parametrically. Depending on the
window size, a (cos(t),sin(t)) plot appears as an
There is now an xspline() function in R-devel, with an example showing how
to add arrows.
I thought a bit more about a 'circular arc' function, but there really is
a problem with that. Few R plot regions have a 1:1 aspect ratio including
some that are intended to do so (see the rw-FAQ).
(Ted Harding) wrote:
This thread prompts me to ask about something I've
been pondering for a while, as to whether there's an
implementation somewhere ticked away in the R resources.
So far, people have been responding to the original query
in terms of increasing the numbers of points, and
Paulo Barata wrote:
Dear R-list members,
I would like to draw a smooth arc. I can draw an arc
parametrically, but this produces an arc too coarse,
even allowing for different increments in sequence t
in the example below. Function symbols (graphics) does
produce a smooth circle, but it
On Tue, 1 May 2007, Jim Lemon wrote:
Paulo Barata wrote:
Dear R-list members,
I would like to draw a smooth arc. I can draw an arc
parametrically, but this produces an arc too coarse,
even allowing for different increments in sequence t
in the example below. Function symbols (graphics)
This thread prompts me to ask about something I've
been pondering for a while, as to whether there's an
implementation somewhere ticked away in the R resources.
So far, people have been responding to the original query
in terms of increasing the numbers of points, and joining
these by lines.
-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Tuesday, May 01, 2007 7:51 AM
To: r-help@stat.math.ethz.ch
Subject: Re: [R] to draw a smooth arc
This thread prompts me to ask about something I've been
pondering for a while, as to whether there's
PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Paulo Barata
Sent: Monday, April 30, 2007 8:17 PM
To: r-help@stat.math.ethz.ch
Subject: [R] to draw a smooth arc
Dear R-list members,
I would like to draw a smooth arc. I can draw an arc
parametrically, but this produces an arc too coarse
On Tue, 1 May 2007, Greg Snow wrote:
Here is an approach that clips the circle you like from symbols down to
an arc (this will work as long as the arc is less than half a circle,
for arcs greater than half a circle, you could draw the whole circle
then use this to draw an arc of the bacground
Dr. Snow and Prof. Ripley,
Dr. Snow's suggestion, using clipplot (package TeachingDemos),
is maybe a partial solution to the problem of drawing an arc of
a circle (as long as the line width of the arc is not that large,
as pointed out by Prof. Ripley). If the arc is symmetrical around
a vertical
Hi
Paulo Barata wrote:
Dr. Snow and Prof. Ripley,
Dr. Snow's suggestion, using clipplot (package TeachingDemos),
is maybe a partial solution to the problem of drawing an arc of
a circle (as long as the line width of the arc is not that large,
as pointed out by Prof. Ripley). If the arc is
Dr. Murrell and all,
One final suggestion: a future function arc() in package graphics,
with centre-radius-angle parameterisation, could also include an
option to draw arrows at either end of the arc, as one can find
in function arrows().
Thank you.
Paulo Barata
Hi
Paulo Barata wrote:
Dr. Murrell and all,
One final suggestion: a future function arc() in package graphics,
with centre-radius-angle parameterisation, could also include an
option to draw arrows at either end of the arc, as one can find
in function arrows().
... and in grid.xspline()
Dear R-list members,
I would like to draw a smooth arc. I can draw an arc
parametrically, but this produces an arc too coarse,
even allowing for different increments in sequence t
in the example below. Function symbols (graphics) does
produce a smooth circle, but it cannot produce an arc.
15 matches
Mail list logo