[R] Barplot for degree distribution

kparamas kparamas at asu.edu
Wed Apr 27 00:51:19 CEST 2011


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.



More information about the R-help mailing list