Re: [R] It This data viz possible in R?

2010-04-08 Thread Jim Lemon
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

Re: [R] It This data viz possible in R?

2010-04-08 Thread baptiste auguie
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),

Re: [R] It This data viz possible in R?

2010-04-07 Thread baptiste auguie
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

Re: [R] It This data viz possible in R?

2010-04-07 Thread Gabor Grothendieck
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

Re: [R] It This data viz possible in R?

2010-04-07 Thread Barry Rowlingson
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

Re: [R] It This data viz possible in R?

2010-04-07 Thread baptiste auguie
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

Re: [R] It This data viz possible in R?

2010-04-07 Thread Barry Rowlingson
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

[R] It This data viz possible in R?

2010-04-07 Thread Brock Tibert
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