On Wed, Apr 7, 2010 at 3:20 PM, baptiste auguie
<baptiste.aug...@googlemail.com> 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 come close) so it might be best to opt for Grid.

 I'd just make circular arcs with sines and cosines.

 Of course the plot is a massive waste of space on a practical level.
Long names will squeeze the adjacency data into a smaller and smaller
area, making it harder to work out what is going on. I wouldn't want
to use this for anything else - but hey, that's what art is for.... :)

 Playing with this (before the Kolkata Knight Riders' innings just
started) and I hit a problem. You can't call strheight("X") to get the
text height without first doing plot.new, but you don't know how big
your plot is going to be until you know strheight("X"). I'm sure
there's a way round this, but... Chris Gayle is batting.

Barry

______________________________________________
R-help@r-project.org 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.

Reply via email to