[R] symbols plots - with circles

Jim Lemon jim at bitwrit.com.au
Wed Dec 16 01:06:08 CET 2009

On 12/16/2009 08:47 AM, DispersionMap wrote:
> Im doing a plot where i look at clusters of data with circles indicating how
> big the cluster is:
> palette(rainbow(1000, end = 0.9))
> symbols(data$lab, data$bak, circles = var21, main = "Circles Plot", fg =
> "grey", bg = 1:1000)
> As i have lots and lots of data points to plot i get alot of circles.
> The problem is that wjen i use colour in the circles the big circles cover
> up the smaller ones sitting underneath.
> What i really want is different sizes of circles to have different colours.
Apologies, I forgot about the color/size relationship. See below.

Hi DispersionMap,
Try this:

symbols(data$lab,data$bak,circles=var21,main="Circles Plot",

But with 1000 circles, I think the plot is going to be a bit messy anyway.


More information about the R-help mailing list