[R] Same scale on different q-q plots

From: Dr. Enrique Hernández Lemus <ehernandez_at_inmegen.gob.mx>
Date: Mon, 04 Jun 2007 13:28:36 -0500 (CDT)

Hi there, I'm new on the list. I am wondering as how to make different q-q plots and display them on the same scale in order to attain an easy visual comparison.

I have tried to use xlim and ylim as arguments to qq.plot in a similar fashion to what is done on plot, also I have tried to use the plot.window utility to implement xlim and ylim. I have even modified the qq.plot.R source and re-compiled but none of these efforts has given any result.

I am doing a sequence of steps like the following:

 p <- apply(p,c(1,2),as.numeric)

 png(file="outputP.png", bg="transparent") plot.window(xlim=c(0,50), ylim=c(0,50))
qq.plot(q, dist="chisq", df=2)

Is there anything that I can do to produce several q-q plots from different data and put them in the same scale, say x-values in (0-50) and y-values in (0-50)?

Thank you to all in advance

Dr. Enrique Hernández Lemus
Medical Sciences Researcher "B"
Computational Genomics
Phone: 5350-1970
Fax: 5350-1999
Email: ehernandez_at_inmegen.gob.mx

R-help_at_stat.math.ethz.ch mailing list
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Mon 04 Jun 2007 - 19:47:10 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 04 Jun 2007 - 20:33:39 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.