[R] two scales for one plot

Bunny, lautloscrew.com bunny at lautloscrew.com
Thu Mar 18 16:09:58 CET 2010


thx everybody. The twoord.plot from the plotrix packages just helped ! Sometimes you just don´t find what you´re looking for - even if it is that simple... 

On 18.03.2010, at 15:59, Christian Ruckert wrote:

> Maybe this is what you are searching for:
> 
> 2-Y-axes on same plot
> https://stat.ethz.ch/pipermail/r-help/2008-December/182374.html
> 
> Best regards,
> Christian
> 
> Bunny, lautloscrew.com wrotes:
>> Dear all, i am looking for a possibility to use two lines in the same plot with different scales. i.e the standard y-axis should represent the line created by vector x and the vertical line vice versa should be used as a second y-axis for the plot of vector y.  I´ve seen that often, particularly in the visualization of timelines (because the x-axis remains the same) and wonder if there´s a possibility to do so in R, too. If I am on the wrong list, please let me know. Thx in advance for any help.
>> best regards
>> bunny
>> ______________________________________________
>> R-help at r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-help
>> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
>> and provide commented, minimal, self-contained, reproducible code.
> 



More information about the R-help mailing list