I am using gracebat of xmgrace to generate bar graphs using the following batch script.
s0 line type 0 S0 SYMBOL COLOR 4 S0 SYMBOL FILL 1 s0 type BAR ## Bar f