[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [igraph] Question on layout.drl .... What are the colors?

From: Gábor Csárdi
Subject: Re: [igraph] Question on layout.drl .... What are the colors?
Date: Tue, 10 Apr 2012 17:42:14 -0400

On Tue, Apr 10, 2012 at 5:38 PM, Peter Flom
<address@hidden> wrote:
> Hello again
> Sorry to be asking so many questions!
> I have a connected component that I am trying to graph. When I run
> plot(component1, layout = layout.drl, vertex.size = 1, vertex.label = NA,
> edge.arrow.size = .1)
> some of the links and nodes are blue, some are black. I didn't see anything
> about this on the documentation for .drl, and the example they give there
> shows up in all black.  Eventually, I will want to change the colors of the
> nodes, but I am curious as to what is going on

Most probably your graph has a vertex attribute called 'color' and
this is automatically used for plotting.
If you don't want it, you can say plot(...., vertex.color="black", ...).



> Thanks!
> Peter
> _______________________________________________
> igraph-help mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/igraph-help

Gabor Csardi <address@hidden>     MTA KFKI RMKI

reply via email to

[Prev in Thread] Current Thread [Next in Thread]