[R] Plotting two y-axis vs non-numeric x-axis

2013-06-15 Thread Birdada Simret
Hi dear all, the following code is correct. but I want to use non-numeric x-axis, for example if I replace time - seq(0,72,6) by month - c(Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec,Pag) Ofcourse I use factor(month) instead of time; but I didn't get similar plot as the example shown. any

Re: [R] Plotting two y-axis vs non-numeric x-axis

2013-06-15 Thread David Winsemius
On Jun 15, 2013, at 5:18 AM, Birdada Simret wrote: Hi dear all, the following code is correct. but I want to use non-numeric x-axis, for example if I replace time - seq(0,72,6) by month - c(Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec,Pag) Ofcourse I use factor(month) instead of

Re: [R] Plotting two y-axis vs non-numeric x-axis

2013-06-15 Thread arun
, June 15, 2013 8:18 AM Subject: [R] Plotting two y-axis vs non-numeric x-axis Hi dear all, the following code is correct. but I want to use non-numeric x-axis, for example if I replace  time - seq(0,72,6)  by month - c(Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec,Pag) Ofcourse I use factor

Re: [R] Plotting two y-axis vs non-numeric x-axis

2013-06-15 Thread Birdada Simret
, ...) : # formal argument pch matched by multiple actual arguments A.K. - Original Message - From: Birdada Simret birdad...@gmail.com To: r-help@r-project.org Cc: Sent: Saturday, June 15, 2013 8:18 AM Subject: [R] Plotting two y-axis vs non-numeric x-axis Hi dear all

Re: [R] Plotting two y-axis vs non-numeric x-axis

2013-06-15 Thread David Winsemius
argument pch matched by multiple actual arguments A.K. - Original Message - From: Birdada Simret birdad...@gmail.com To: r-help@r-project.org Cc: Sent: Saturday, June 15, 2013 8:18 AM Subject: [R] Plotting two y-axis vs non-numeric x-axis Hi dear all, the following code

Re: [R] Plotting two y-axis vs non-numeric x-axis

2013-06-15 Thread Jim Lemon
On 06/16/2013 04:14 AM, Birdada Simret wrote: Thank you. @David: The example is exactly this: time - seq(0,72,6) music - c(0.05,0.18,0.25,0.31,0.32,0.34,0.35, 0.36,0.37,0.38,0.39,0.40,0.41) actor - c(0,1000,2000,3000,4000,5000,6000,7000,8000,9000,1,11000,12000) par(mar=c(5, 4, 4, 4) + 0.1)