> On Oct 24, 2017, at 2:56 AM, Alaios via R-help <r-help@r-project.org> wrote: > > Hi all,I would like to draw a simple circle where the color gradient follows > the rule color = 1/(r^2) where r is the distance from the circle.
This is called a radial gradient fill in SVG speak. [snip] > but this package does not give easily color gradients and so my solutions > contains 5 same colors filled rings. I would look at the gridSVG package. Examples of various gradient fills are here: https://www.stat.auckland.ac.nz/~paul/Reports/leaf/leaf.html#idp625472 HTH, Chuck ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see 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.