On Tue, Feb 9, 2010 at 2:20 PM, Karin Lagesen <kar...@cbs.dtu.dk> wrote:
> I have a data set which I would like to plot as a set of concentric
> circles. The data represent a count of the number of characteristics
> shared by various elements - an example would look like this:
>
> 1 100
> 2 75
> 3 50
> 4 25
>
> I.e. all four sets share 25 characteristics, three of them share 50
> characteristics, and so on.
>
> I would like to plot these as concentric circles, with the circle size
> preferentially being proportional to the size of the number of elements
> (this is not a must, however). I would also like the colors of the circles
> to become stronger/deeper as we progress to the innermost circle (which
> would be the one containing the number of characteristics shared by all
> four).
>
> Can somebody point me to what I can use to do this?

 help.search("circle")?

Have you tried any of those? Specifically:

plotrix::draw.circle    Draw a circle.
shape::filledcircle     adds colored circle to a plot
grid::grid.circle       Draw a Circle

 - assuming you have those packages loaded...

Barry

______________________________________________
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