--- scott flemming <[EMAIL PROTECTED]> wrote: > Hi, > > I wonder whether R can finish the following project: > > I want to make a chart to represent 10 genes. Each > gene has orientation and length. Therefore, a gene > can be represented by arrows. > > Can R be used to draw 10 arrows in one line ? > > scott
Do you mean something like this? x <- 1:10 y <- 1:10 plot(x,y, type="n" ) arrows(c(1,4,6),c(3,3,3), c(2,3, 7), c(4,4,2)) ______________________________________________ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.