On Thu, Mar 22, 2012 at 10:37 AM, Tamas Nepusz <[email protected]> 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
> [email protected]
> https://lists.nongnu.org/mailman/listinfo/igraph-help
--
Gabor Csardi <[email protected]> MTA KFKI RMKI
_______________________________________________
igraph-help mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/igraph-help