Message-ID: <48CEB6EE.3050706@stat.auckland.ac.nz>
Date: 2008-09-15T19:26:38Z
From: Paul Murrell
Subject: Drawing curves
In-Reply-To: <48CE7D66.10609@sanbi.ac.za>
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/