RES: How to force axis to have the same range
Thanks to Greg and Deepayan for their answers. *Sebastien Bihorel, PharmD, PhD* PKPD Scientist Cognigen Corp Email: sebastien.bihorel at cognigencorp.com <mailto:sebastien.bihorel at cognigencorp.com> Phone: (716) 633-3463 ext. 323
Greg Snow wrote:
For variables named my.x and my.y try:
plot( my.x, my.y, xlim=range(my.x,my.y), ylim=range(my.x,my.y) )
If all you want is to have the same range of values on both the x and y axes.