Osmo Salomaa
unread,Sep 21, 2012, 11:19:01 AM9/21/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ggp...@googlegroups.com
Since those arcs seem to be half-circles, the answer to "How to draw an arc from one point to another using ggplot" is that if you know the two points you can easily (couple lines of code) generate the points to represent the arc using a sequence of angles seq(pi, 0, length.out=100) and basic trigonometry and draw them using geom_path. If you need to do some grouping or ordering of points with no natural coordinates (which your protovis link seems to imply), then it's more difficult.