Re: [R] how to represent error bar in a plot legend?

2010-09-02 Thread Jim Lemon
On 09/02/2010 04:56 AM, josef.kar...@phila.gov wrote: I have a simple barplot of 4 mean values, each mean value has an associated 95% confidence interval drawn on the plot as an error bar. I want to make a legend on the plot that uses the error bar symbol, and explains 95% C.I. How do I show the

Re: [R] how to represent error bar in a plot legend?

2010-09-02 Thread Josef . Kardos
I think I found a simple solution, although it requires some tinkering to find the x,y coordinates of the plot region to place the text... barplot ( ) text(x= 2.9, y = 0.43, srt=90, labels = H, cex = 1.5, col=blue) #srt rotates the H character, so that it resembles an error bar text(x=3.5,

[R] how to represent error bar in a plot legend?

2010-09-01 Thread Josef . Kardos
I have a simple barplot of 4 mean values, each mean value has an associated 95% confidence interval drawn on the plot as an error bar. I want to make a legend on the plot that uses the error bar symbol, and explains 95% C.I. How do I show the error bar symbol in the legend? I could not find

Re: [R] how to represent error bar in a plot legend?

2010-09-01 Thread John Kane
josef.kar...@phila.gov wrote: From: josef.kar...@phila.gov josef.kar...@phila.gov Subject: [R] how to represent error bar in a plot legend? To: r-help@r-project.org Received: Wednesday, September 1, 2010, 2:56 PM I have a simple barplot of 4 mean values, each mean value has an associated 95