|
From: | Gábor Csárdi |
Subject: | Re: [igraph] Faithful distances in weighted plots? |
Date: | Sat, 18 May 2013 18:07:00 -0400 |
For laying out a weighted network, the simplest test case seems like a (very) isosceles triangle. However, when I plot this, sometimes it looks isosceles and sometimes it looks equilateral. Is there a better layout to use?Thank yous = matrix(0, nrow=3, ncol=3)s[1,2] = 0.2s[1,3] = 0.2s[2,3] = 20s = s + t(s)g = graph.adjacency(s, mode="undirected", weighted=TRUE, diag=FALSE)plot(g)l = layout.drl(g, weights=E(g)$weight)plot(g, layout=l)
_______________________________________________
igraph-help mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/igraph-help
[Prev in Thread] | Current Thread | [Next in Thread] |