[R] Adding a second y axis and specifying yaxs="i"

Cameron Guenther cguenther at kieser-associates.com
Wed Oct 24 20:21:39 CEST 2007


Hello All,
I have plotted a barplot and placed a line plot over top using 
par(new=TRUE).
In the first plot I have specified that yaxs="i" and xaxs="i".  However 
when I add a new axis to side 4 (right) and try to specify yaxs="i" it 
does nothing and the axis line begins above the x axis when I want the 
two points to meet.  Can anyone tell me how to specify the secondary y 
axis to be in the "i" format.
Thanks.

-- 
Cameron Guenther, Ph.D.
Project Scientist
Kieser & Associates, LLC
536 E. Michigan Ave., Suite 300
Kalamazoo, MI 49007
(269)344-7117
cguenther at kieser-associates.com
www.kieser-associates.com



More information about the R-help mailing list