Thanks a lot, Jim. I get my desired output by using your R script at the end Yesterday was my mistake....
Apart from that, do you have any idea to plot a line graph/chart? My Input file is shown as below: Range Data1 Data2 1 38 37 2 38 37 3 38 37 4 37 37 5 37 37 6 37 37 7 37 37 8 37 37 9 37 37 10 37 37 11 37 37 12 37 37 13 37 37 14 37 37 15 37 37 16 37 37 17 37 37 18 37 37 19 37 37 20 37 37 21 37 36 22 37 36 23 37 36 24 37 36 25 37 36 26 37 36 27 36 36 28 36 36 29 36 36 30 36 36 31 36 36 32 36 36 33 36 36 34 36 36 35 36 36 36 36 36 37 36 36 38 36 36 39 36 36 40 36 36 Thanks for your further notice and advice :) -- View this message in context: http://r.789695.n4.nabble.com/Help-with-plot-Grouped-Bar-Plot-by-using-R-tp4448762p4471020.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ 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.