Re: [R] Odp: 2 plots with different scales in the same graphical window

2010-12-09 Thread Greg Snow
Healthcare greg.s...@imail.org 801.408.8111 > -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r- > project.org] On Behalf Of Petr PIKAL > Sent: Thursday, December 09, 2010 8:43 AM > To: Rafael Moral > Cc: r-help > Subject: [R] Odp: 2 plots wit

[R] Odp: 2 plots with different scales in the same graphical window

2010-12-09 Thread Petr PIKAL
Hi r-help-boun...@r-project.org napsal dne 09.12.2010 16:25:06: > Dear useRs, > I have two sets of data that I would like to plot in the same window, but their > ranges are really different, e.g. > > a <- c(0.2, 0.5, 0.8, 0.3, 0.4, 0.5, 0.2, 0.2, 0.3) > b <- c(100, 2000, 800, 200, 100, 50, 4,