[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [igraph] problem with painting edge.
From: |
Tamas Nepusz |
Subject: |
Re: [igraph] problem with painting edge. |
Date: |
Mon, 15 Mar 2010 15:43:37 +0000 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
> graph.es["iFlow"] = [11, 57, 10, 60, 6, 40, 12, 90, 45, 51, 23, 35,
> 10, 44, 67, 72, 27, 13, 45, 34, 16, 80]
>
> I want plot a graph where each edge with an iFlow < 20 is painting
> with a grey color. But if its iFlow is > 20 is painting with a black
> color.
graph.es["color"] = [["gray", "black"][value>20] for value in graph.es["iFlow"]]
--
Tamas