I want to make a bar plot, using gnuplot, with values from column 3, xtic labels from column 2, and color from column 4 of my data file. The file looks like:
0 "13 Sep" 2400.18 "blue"
1 "13 Oct" 440.86 "blue"
2 "13 Nov" 867.03 "blue"
3 "13 Dec" -247.32 "red"
4 "14 Jan" -3457.56 "red"
5 "14 Feb" 666.94 "blue"
Currently, I plot with the following command,
plot "output.txt" using 1:3:xtic(2) with boxes
and the plot has the correct tic labels in the x-axis and all the bars are colored red. What I would like to do it to get the bar color from the file, or alternatively have a smooth color palette from blue to red, going through white.
I have tried a lot of different suggestions that I've found searching the internet but with no success. How should I do it?

