> Here are a couple of options:
>
> (i)  use the 'gridBase' package and do these arrow annotations using the
> 'grid' package, which allows you to control coordinate systems in a more
> rational manner.  There's an example (perhaps slightly more complicated
> than you need) in:
> http://cran.r-project.org/doc/Rnews/Rnews_2003-2.pdf
>
> (ii) draw your main plot using 'lattice' and the annotations using
> 'grid' or possibly 'grImport'.  There's a hint of an example of the
> latter on slide 18 of:
> http://www.stat.auckland.ac.nz/~paul/Talks/import.pdf
>
> (iii) draw the whole thing using 'grid'.  You can start to get
> acquainted with grid here:
> http://www.stat.auckland.ac.nz/~paul/RGraphics/chapter5.pdf

(iv) Use ggplot2 - particularly geom_segment
(http://had.co.nz/ggplot2/geom_segment.html) and stat_spoke
(http://had.co.nz/ggplot2/stat_spoke.html)

Hadley

-- 
http://had.co.nz/

______________________________________________
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