[R] TeachingDemos question: my.symbols() alignment problems in complicated layout

hadley wickham h.wickham at gmail.com
Mon Jul 21 02:44:32 CEST 2008

> 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



More information about the R-help mailing list