[R] Two y-axis in plots

Spencer Graves spencer.graves at pdf.com
Fri Apr 4 16:41:00 CEST 2003


Have you considered "plot" with "axes" and "points" or "lines"?

"?plot" provides examples using "points" and "lines";  "?axes" should 
fill in the gap.

Spencer Graves

Allan McRae wrote:
> Hi,
> 
> I am trying to plot two data sets on one plot but with using a different y-axis ranges for each - preferably with one shown on each side of the graph.
> 
> Is there a function that will allow me to do this.
> 
> Thanks
> 
> Allan McRae
> 	[[alternate HTML version deleted]]
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help



More information about the R-help mailing list