igraph-help
[Top][All Lists]
Advanced

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

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


From: Peter Flom
Subject: Re: [igraph] Question on layout.drl .... What are the colors?
Date: Tue, 10 Apr 2012 17:48:03 -0400

Thanks!

Are edges of directed graphs automatically given a color?

Peter

Peter Flom
Peter Flom Consulting
http://www.statisticalanalysisconsulting.com/
http://www.IAmLearningDisabled.com


-----Original Message-----
From: address@hidden
[mailto:address@hidden
On Behalf Of Gábor Csárdi
Sent: Tuesday, April 10, 2012 5:42 PM
To: Help for igraph users
Subject: Re: [igraph] Question on layout.drl .... What are the colors?

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", ...).

See
summary(component1)
?igraph.plotting

G.

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



--
Gabor Csardi <address@hidden>     MTA KFKI RMKI

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




reply via email to

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