Re: [R] how to make multiple curves in one plot

2010-11-02 Thread Joshua Wiley
Hi Karena, As Remko mentioned, it really is polite to say what package your function is from if its not one of the basics (such as base or stats). Also, it is nice to give us sample data (side note, both of these things are mentioned in the posting guide which you may find here: http://www.r-proj

[R] how to make multiple curves in one plot

2010-11-01 Thread karena
hello, plot(running(-log10(results_chr_p$empi_p), fun=mean, width=41, font.axis=4, by=1),type="l",cex=0.1, ylab="-Log(p)", ylim=c(0,5.0), xlab=" ", lwd=2) this is my code to make a plot. The problem is, now I want to add one more curve to the plot, which is for another variable in the data.fra

Re: [R] how to make multiple curves in one plot

2010-11-01 Thread Remko Duursma
Dear Karena, Please read the posting guide : your example cannot be reproduced because we don't know in which package the 'running' function resides. Generally speaking, use 'points' or 'lines' to add points or lines to the current device. greetings, remko -- View this message in context: h