On 04/08/2010 12:44 AM, Gabor Grothendieck wrote:
There is draw.arc in the plotrix package.
Well, draw.arc is specified by center, radius and start/finish angles,
so it would be a lot of calculation to get these from the two points
that must be joined on the circumference. I would probably tra
An improved version below (now the connections are drawn in the correct order),
library(grid)
arcTextGrob <- function(x=unit(0.5, "npc"), y=unit(0.5, "npc"),
labels=library()$results[,1],
links=sample(seq_along(labels), 20, rep=T),
The following grob might be a starting point. I couldn't find a clean
way of orienting the linking arcs though...
Best,
baptiste
library(grid)
paragraph <- "Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Praesent adipiscing lobortis placerat. Nunc vel arcu mauris. Aliquam
erat volutpa
There is draw.arc in the plotrix package.
On Wed, Apr 7, 2010 at 10:20 AM, baptiste auguie
wrote:
> Hi,
>
> Barry suggested a way to place the text labels; I would like to point
> out the grid.curve() function that might help in connecting the labels
> with nice-looking curves. I don't know of a
On Wed, Apr 7, 2010 at 3:20 PM, baptiste auguie
wrote:
> Hi,
>
> Barry suggested a way to place the text labels; I would like to point
> out the grid.curve() function that might help in connecting the labels
> with nice-looking curves. I don't know of a base graphics equivalent
> (xspline() might
Hi,
Barry suggested a way to place the text labels; I would like to point
out the grid.curve() function that might help in connecting the labels
with nice-looking curves. I don't know of a base graphics equivalent
(xspline() might come close) so it might be best to opt for Grid.
HTH,
baptiste
On Wed, Apr 7, 2010 at 2:28 PM, Brock Tibert wrote:
> Hi All,
>
> I am new to R, but it has been a lot of fun learning as I go and have been
> blow away by what it can do. Came across this example and wanted to see if
> ggplot2 or some other visualization package could make this sort of graphic
Hi All,
I am new to R, but it has been a lot of fun learning as I go and have been blow
away by what it can do. Came across this example and wanted to see if ggplot2
or some other visualization package could make this sort of graphic.
http://www.visualcomplexity.com/vc/project.cfm?id=717&utm_s
8 matches
Mail list logo