I'm using gnuplot to plot bar graphs.
The question is: I want each bar to have different colors. For example: MSA-GA ACO in red and MSA-GA PACO in blue.
How do I do this?
Here are the comands I've used:
set yrange [0:14000]
set style fill solid
set boxwidth 0.7
set xtics format ""
set grid ytics
set title "Total Runtime"
set ylabel "Time (s)"
unset key
plot "data.dat" u 1:3:xtic(2) with boxes, "" u 1:3:3 with labels offset char 0,0.7
The "data.dat":
0 "MSA-GA ACO" 12726.38
1 "MSA-GA PACO" 5290.00

