This is probably a simple question, but I can not find a solution for this.
I have the following graph (I use the CI graph since I cannot fill the points with the graph ()).
leg<-c("1","2","3","4","5","6","7","8") Col.rar1<-c(rgb(1,0,0,0.7), rgb(0,0,1,0.7), rgb(0,1,1,0.7),rgb(0.6,0,0.8,0.7),rgb(1,0.8,0,0.7),rgb(0.4,0.5,0.6,0.7),rgb(0.2,0.3,0.2,0.7),rgb(1,0.3,0,0.7)) library(plotrix) plotCI(test$size,test$Mean, pch=c(21), pt.bg=Col.rar1,xlab="",ylab="", ui=test$Mean,li= test$Mean) legend(4200,400,legend=leg,pch=c(21),pt.bg=Col.rar1, bty="n", cex=1)

I want to create the same effect, but with lines instead of dots (line continuation)
Any suggestion?