[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [igraph] About colors in communities plots
From: |
Gábor Csárdi |
Subject: |
Re: [igraph] About colors in communities plots |
Date: |
Thu, 22 Mar 2012 12:57:48 -0400 |
On Thu, Mar 22, 2012 at 10:37 AM, Tamas Nepusz <address@hidden> wrote:
>
>> That is good and easy! But I was thinking that If I change the colors
>> of the vertices, so the color of the "shadows" surrounding the
>> communities would change too.
> Ah, I understand. I agree, it would be nice if that could be controlled as
> well, but I don't know whether plot.communities has an option for that or
> not. Gabor?
'mark.col' defines the colors of the shadows and 'col' the colors of
the vertices. E.g.:
karate <- graph.famous("Zachary")
wc <- walktrap.community(karate)
plot(wc, karate, mark.col=heat.colors(length(wc)),
col=rainbow(length(wc))[membership(wc)])
G.
> --
> T.
>
> _______________________________________________
> igraph-help mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/igraph-help
--
Gabor Csardi <address@hidden> MTA KFKI RMKI