Re: [R] Help barplots

2010-06-03 Thread Jim Lemon
On 06/03/2010 01:27 AM, khush wrote: Hi all, I want to draw a arrow (small) of any length along with OsCYP right side i.e parrallel and antiparallel arrows both text(os[1], 10.2, pos = 4, "OsCYP", font=1, cex = 1, col = "red") and how can I connect two points with dotted line let

Re: [R] Help barplots

2010-06-02 Thread khush ........
Hi all, I want to draw a arrow (small) of any length along with OsCYP right side i.e parrallel and antiparallel arrows both text(os[1], 10.2, pos = 4, "OsCYP", font=1, cex = 1, col = "red") and how can I connect two points with dotted line lets say bp[1 ]10.2 ---

Re: [R] Help barplots

2010-06-01 Thread khush ........
Dear All, Thank you very much for your kind help and support I got it. Jeet On Tue, Jun 1, 2010 at 5:32 PM, Jim Lemon wrote: > On 06/01/2010 09:01 PM, khush wrote: > >> Dear All, >> >> I am newbie to R, and I wanted to plot a barplots with R and in such a way >> that It will also sho

Re: [R] Help barplots

2010-06-01 Thread Peter Ehlers
On 2010-06-01 5:01, khush wrote: Dear All, I am newbie to R, and I wanted to plot a barplots with R and in such a way that It will also show me position which I can plot on the bar line. Here is my code that I am using to plot, chromosome<- c(40.2, 35.6, 36.1, 29.6, 31, 29.6, 31, 29.

Re: [R] Help barplots

2010-06-01 Thread Jim Lemon
On 06/01/2010 09:01 PM, khush wrote: Dear All, I am newbie to R, and I wanted to plot a barplots with R and in such a way that It will also show me position which I can plot on the bar line. Here is my code that I am using to plot, chromosome<- c(40.2, 35.6, 36.1, 29.6, 31, 29.6, 31,

Re: [R] Help barplots

2010-06-01 Thread Martyn Byng
Hi, If you want to draw lines on your barchart then aa = barplot(chromosome, col="purple", xlab="Oryza sativa Chromosomes", border = NA, space = 5, ylim = c(0,45)) returns the midpoints of each bar in the vector aa and then you can use the lines() function to do the drawing. Martyn -Origin