[R] Barplot for degree distribution

From: kparamas <kparamas_at_asu.edu>
Date: Tue, 26 Apr 2011 15:51:19 -0700 (PDT)


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_at_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.
Received on Wed 27 Apr 2011 - 01:10:54 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 27 Apr 2011 - 03:40:35 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive