[R] How to plot graph with different scale (y axis) on same graph?

Manish Gupta mandecent.gupta at gmail.com
Thu Apr 26 12:02:18 CEST 2012


Hi, 

I have my data in below format.

position         var1            var2
2                       .1                 10
3                       .29               89
12                    .56               100
425                 .34                1234
6546              .12                 21
....                   .....                 .....
....                   .....                ......
....                   .....                ......

I need to plot a grpah for above with position as x - axis and two variables
with as line on the same plot. I have 5 million records.  How can i
implement it efficiently.

Regards

--
View this message in context: http://r.789695.n4.nabble.com/How-to-plot-graph-with-different-scale-y-axis-on-same-graph-tp4589364p4589364.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list