[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[igraph] plotting graphs with edges of various length
From: |
aschmid1 |
Subject: |
[igraph] plotting graphs with edges of various length |
Date: |
Sat, 08 Mar 2014 22:37:25 -0500 |
User-agent: |
Roundcube Webmail/0.9.2 |
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
pcor2013-7-12.png
Description: PNG image
- [igraph] plotting graphs with edges of various length,
aschmid1 <=