On 6/18/09, Katharina May <may.kathar...@googlemail.com> wrote: > Hi Sorn, > > thanks for your code. I guess I didn't really made myself very clear. > What I sort of looking for is a xyplot with both the x axis at the bottom > and y axis at the > left going through 0, but continuing in the positive and negative area > (forming a kind of cross > like e.g. > > http://upload.wikimedia.org/wikipedia/commons/thumb/2/2c/Erf_plot.svg/600px-Erf_plot.svg.png > > I'm not sure if this possible at all or if I just have to add to reference > lines at x=0 and y =0 as a > workaround even though not fully satisfying...?
Sounds like you want something similar to xyplot(..., scales = list(draw = FALSE)) or xyplot(..., scales = list(y = list(draw = FALSE))) (if you only want to omit the y-axis). As for drawing the axis inside, you will need to do that explicitly using a panel function. -Deepayan ______________________________________________ R-help@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.