[R] shading an area in a edf

2008-07-08 Thread squall44
Hi, I've got the following edf: *** x = c(1.6,1.8,2.4,2.7,2.9,3.3,3.4,3.4,4,5.2) F2.5 <- ecdf(x) plot(F2.5, verticals= TRUE, do.p = TRUE, lwd=3, ylab = "", xlab = "", xlim = c(1,5.5)) abline(h= (0:5)*0.2) #mean abline(v=mean(x), lwd=2) mtext(text=expression(bar(x

[R] combine mathematical expressions with plain text

2007-09-20 Thread squall44
Hello, I would like to create a mtext. The argument 'text' should combine the mathematical expressions 'bar' with the plain text ' = 3.07'. Is that possible? mtext(text=expression(bar(x)) ...) ' = 3.07' Thanks for any ideas Tobias -- View this message in context: http://www.nabble.com/combine

[R] Adjust barplot to the left

2007-09-25 Thread squall44
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 =

[R] how to create this graph?

2007-10-01 Thread squall44
Hello, I'm trying to create the following graph: http://www.nabble.com/file/p12974686/bar.gif Is there a command (like pie(...) or barplot(...)) or is this just a special case of eg barplot? I'd be glad if someone could give me a hint on where to start. Regards, Tobias -- View this message