I am trying to replicate the clustered histogram from Clustered bar plot in gnuplot by using gnuplot.
I use the gnuplot script like this:
set terminal pdf enhanced
set output 'bar.pdf'
set style data histogram
set style histogram cluster gap 1
set style fill solid border rgb "black"
set auto x
set yrange [0:*]
plot 'info.dat' using 2:xtic(1) title col, \
'' using 3:xtic(1) title col, \
'' using 4:xtic(1) title col, \
'' using 5:xtic(1) title col, \
'' using 6:xtic(1) title col
set out
and info.dat
is exactly like this:
Broswer Video Audio Flash HTML JavaScript
IE 30% 10% 25% 20% 15%
Chrome 20% 5% 35% 30% 10%
Unfortunately, the generated file has error like this:
As you can see, main errors are, the key box, x axis titles, y axis range won't show. I suspect that is there anything specific data file format I don't know? Or is it because of something else? Thank you so much for your help.