[sage-support] Re: Graphs in Sage: vertex labels?

2011-04-16 Thread ObsessiveMathsFreak
On Apr 16, 9:52 pm, nkulmati wrote: > 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 fro

[sage-support] Re: Graphs in Sage: vertex labels?

2011-04-17 Thread John H Palmieri
On Saturday, April 16, 2011 1:52:50 PM UTC-7, nkulmati wrote: > > 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