Drawing curves
Hi
Allan Kamau wrote:
Hi, Am looking for an R package that will provide the drawing of curves and arcs of arbitrary shapes to use in illustrations. For example bent lines and arrows.
Take a look at the 'grid' package, in particular, grid.xspline(), grid.curve(), and possibly grobX() and grobY(). There are some examples of what these can do in http://www.stat.auckland.ac.nz/~paul/Talks/rgraphs.pdf Paul
Allan.
______________________________________________ R-help at 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.
Dr Paul Murrell Department of Statistics The University of Auckland Private Bag 92019 Auckland New Zealand 64 9 3737599 x85392 paul at stat.auckland.ac.nz http://www.stat.auckland.ac.nz/~paul/