In barplot for degree distribution x-axis is not seen. See the example below > g = barabasi.game(500, 0.4) > dd1 = degree.distribution(g) > plot(dd1, xlab="degree", ylab = "frequency")
whereas barplot doesnot have any x-axis > barplot(dd1, xlab = "degree", ylab = "frequency") Please see the figures attached. http://r.789695.n4.nabble.com/file/n3476831/barplot_dd__one_.png http://r.789695.n4.nabble.com/file/n3476831/plot_dd__one_.png -- View this message in context: http://r.789695.n4.nabble.com/Barplot-for-degree-distribution-tp3476831p3476831.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.