Displaying 1 result from an estimated 1 matches for "p12877530".
2007 Sep 25
2
Adjust barplot to the left
Hello,
I have the following problem: I created an ecdf and a barplot. Unfortunatly,
the bars are not where I would like them to be (please see picture below).
http://www.nabble.com/file/p12877530/problem.gif
That's my code:
#------------------------
par(mfrow=c(2,1), mar=c(2,3,3,2))
#ECDF
x = c(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2)
F2.5 <- ecdf(x)
plot(F2.5,
verticals= TRUE,
do.p = TRUE,
lwd=3,
ylab = "",
xlab = "",
main = &quo...