I'd like to know how to build an histogram plot with a different color
for each bar. I've just one column of date: the very simple case.
Thanks guys for the help,
Paolo
If I understood your question correctly, one possible solution would
be
p 'foo' u 0:1:0 w boxes fs solid 0.5 lt palette
where the colour will be determined by the value of the 0th pseudo-
column.
Change your palette, if you want to have different colours.
Cheers,
Zoltán
Thanks for the help Zoltán,
I've followed your suggestion using a defined palette
set palette defined (-10 "white", 1 "white", 1 "green", 2 "green",
3 "blu.....
and plotting in this way, otherwise I had just the contour line with
the palette colours:
plot "perc.dat" u 0:1:0 with boxes fs solid palette
cheers,
Paolo
plot "perc.dat" u 0:1:0 with boxes fs solid palette