|
From: dave101 <da...@ya...> - 2011-05-19 02:28:04
|
Say I have 5 manufacturing lines. Each week, I collect 2 quality metrics R and S. After week 2, I have a table like below. I would like to graph a clustered histogram chart using the data from the R# columns and then put the number from the corresponding S# column above each bar. So far I have below which can plot the S# points, but i can't make it just put the S numbers and all of the S# points get put on the first bar in the cluster, not on each bar in the cluster. (i.e. I need to use a separate xtic for each S#. I need the solution to be scalable -- each week I will add 2 new columns for R and S. So I need to be able to calculate the xtics somehow based on number of columns? plot "data.txt" using 2:xticlabels(1) ti col , '' using 4 ti col, '' using 3 ti col axis x1y2 with points, '' using 5 ti col axis x1y2 with points data R1 S1 R2 S2 line1 1000 0.2 900 0.1 line2 900 0.2 800 0.1 line3 800 0.2 700 0.1 line4 700 0.2 600 0.1 line5 600 0.2 500 0.1 -- View this message in context: http://old.nabble.com/Plot-value-from-another-column-above-histogram-bar-tp31652478p31652478.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |