Hello All,

I have a simple script:

> G = graphs.RandomNGP(20, 0.05)
> centralities = G.centrality_closeness()

I can not figure out how to plot the graph G so that no only the
labels (1,2,3) are shown but also the corresponding centralities from
the dictionary "centralities"!

Does anyone have any idea??

Also, is it possible to plot the vertices in different, pre-specified
colors?? (Sounds like a common task for bipartite graph visualization)

Thanks !!!


-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to