Plotting the clustering coefficient and degree distribution
Hi I tried to get the local clustering coefficient for all the vertices and it returned a property map. I'll be glad if you could tell me how to import data from it and plot it SHubham -- http://about.me/shubham.bhushan
Hi, You can access the data within the PropertyMap as a numpy array through the `.a` attribute, and do something like: plt.figure() plt.hist(v_prop.a) Guillaume Le 16/06/2014 12:04, Shubham Bhushan a écrit :
Hi I tried to get the local clustering coefficient for all the vertices and it returned a property map. I'll be glad if you could tell me how to import data from it and plot it SHubham
-- http://about.me/shubham.bhushan
_______________________________________________ graph-tool mailing list graph-tool@skewed.de http://lists.skewed.de/mailman/listinfo/graph-tool
participants (2)
-
Guillaume Gay -
Shubham Bhushan