Hi, I am using R on Windows XP.
I am using 'arrows' funtion to plot the variance as error bar, BUT error bar goes only one side of the data point, I need to plot the error bar on both side of the data point (plot is attached), I am using following commands to plot, plot(file3$lat,file3$STotwoKm,pch=21,cex=2.5,ylim=c(-0.2,2.5),xlim=c(-50,50),xlab=NA,ylab=NA, col=1, xaxs="i",yaxs="i") arrows(file3$lat, file3$var1, file3$lat,file3$STotwoKm, col=1, code=3, angle=90, length=0.1) Here: lat=latitte (x-axis) STotwoKm = Data values (y-axis) Var1 = Variance Kindly help how I can plot error bar on both side of data point, Many thanks, Regards, Yogesh -- Yogesh K. Tiwari (Dr.rer.nat), Scientist, Indian Institute of Tropical Meteorology, Homi Bhabha Road, Pashan, Pune-411008 INDIA Phone: 0091-99 2273 9513 (Cell) : 0091-20-258 93 600 (O) (Ext.250) Fax : 0091-20-258 93 825
______________________________________________ R-help@r-project.org 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.