|
From: ColorIsSweet <aik...@gm...> - 2013-07-12 17:18:04
|
I'm making a bar histogram and I would like to draw each bar in a different color. Here's my data: Silver/Gray 1886923 29.963891005749588 White 1265143 20.090171649127733 Black 1258397 19.983046764474366 Red 712602 11.315951238327779 Blue 565317 8.9771002694319471 Brown/Beige 203033 3.2241160251745069 Yellow/Gold 186990 2.9693569791481238 Green 171534 2.7239193543034079 Other 47384 0.7524467142625525 And here's my script set title "Histogram of machine color" set grid set yrange [0:35] set xrange [-.5:*] set style data histograms set style fill solid set xtics border in scale 0,10 nomirror rotate by -45 plot "percent.out" using 3:xticlabels(1) notitle I know there's some magic in the universe somewhere that will let me color the histogram bars as gray, white, black, red, etc.. But what that magic is, is beyond me. Thanks in advance! -- View this message in context: http://gnuplot.10905.n7.nabble.com/Color-in-a-histogram-tp17491.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |