Re: [R] Centering lines on barplot centers.

2011-09-12 Thread Greg Snow
gt; From: r-help-boun...@r-project.org [mailto:r-help-bounces@r- > project.org] On Behalf Of gerald.j...@dgag.ca > Sent: Monday, September 12, 2011 1:34 PM > To: r-h...@stat.math.ethz.ch > Subject: [R] Centering lines on barplot centers. > > > Hello, > > I am trying to po

[R] Centering lines on barplot centers.

2011-09-12 Thread gerald.jean
Hello, I am trying to port one of my plotting S+ functions to R and I am having difficulties!!! I am including here only the troublesome code! I first produce a barplot, saving the positions of the bar's centers. par(mar = c(6.1, 5.1, 4.1, 4.1), mgp = c(3, 3.0, 0)) ticks.loc <- barplot(su