Hi, maybe I am missing something, but what is your question? Why some red edges are shorter? For that we would need a reproducible example.
Why the "weight" and/or "length" attribute is not used automatically? Or something else? Gabor On Sat, Mar 8, 2014 at 10:37 PM, aschmid1 <[email protected]> wrote: > Hi, > I thought that the commands > gm<-set.edge.attribute(gm, "weight", index=E(gm), value=weights) > gm<-set.edge.attribute(gm, "length", index=E(gm), value=weights) > ensure that plot(gm) yields the edge lengths corresponding to the values > of vector weights. It seems not the case. I attach the graph in which blue > edges have weights < 1 and red edges have weights >1. However, some red > edges look shorter than some blue edges. > Thanks much, Alec > _______________________________________________ > igraph-help mailing list > [email protected] > https://lists.nongnu.org/mailman/listinfo/igraph-help > >
_______________________________________________ igraph-help mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/igraph-help
