Displaying 2 results from an estimated 2 matches for "dcvdrfrh_5cm5qkchw".
2009 Feb 18
3
Barplot with Sorted X-Axis
...8,348] (368,378] (458,468]
1 1 1 1 1
How can I plot the data so that the bin is sorted from most negative
in the left to most positive in the right?
Currently my graph look like this:
http://docs.google.com/Doc?id=dcvdrfrh_5cm5qkchw
Notice that it is unsorted at all,
In particular the second bar (value = 76) id placed on the right to the first.
(8.048,18.05] (-21.95,-11.95]
81 76
This is the command I use to plot:
barplot(x,ylab="Number of Unique Tags", xlab="Expected - Observ...
2009 Feb 18
1
Plotting Binned Data
...snippet:
library(lattice)
pdf("myfile.pdf")
hist(dat)
lines(dat,col="red")
dev.off()
__ END__
However the number of bins it plot is not the same
with "dat" (i.e. 10 bins). It only gives 6 bins.
The actual output can be seen in this URL
http://docs.google.com/Doc?id=dcvdrfrh_5cm5qkchw
How can I fix the code so that it gives a exact plot
to "dat" above, with same number of bins and its
respective frequency?
- Gundala Viswanath
Jakarta - Indonesia