Plotting log-binned network degree distributions
问题 I have often encountered and made long-tailed degree distributions/histograms from complex networks like the figures below. They make the heavy end of these tails, well, very heavy and crowded from many observations: However, many publications I read have much cleaner degree distributions that don't have this clumpiness at the end of the distribution and the observations are more evenly-spaced. ! How do you make a chart like this using NetworkX and matplotlib ? 回答1: Use log binning (see also)