Re: [R] Alignment of lines within barplot bars

2011-04-18 Thread snowboarder101
Great, that seems to do it. I had found another post about the twoord.plot function, but it seems that one comes with its own set of difficulties. Thanks for the help! -- View this message in context: http://r.789695.n4.nabble.com/Alignment-of-lines-within-barplot-bars-tp2533115p3458555.html Sen

Re: [R] Alignment of lines within barplot bars

2011-04-08 Thread snowboarder101
Thanks for the reply. I looked at this before as I saw you had posted this, but this either doesn't work in my situation, or I am using it wrong. Take the example in the function: tmp <- barplot(1:4) updateusr(tmp[1:2], 0:1, 1:2, 0:1) lines(1:4, c(1,3,2,2), lwd=3, type='b',col='red') But I want

Re: [R] Alignment of lines within barplot bars

2011-04-07 Thread snowboarder101
Hi, I am dealing with a similar issue, I am trying to use a barplot in conjunction with some points plotted and want to line the two up. This all works fine, but I am dealing with the additional complication that I have two y-ranges. The barplot is based on one range, while the points are based on