I have a script which creates a basic columnstacked histogram:
set grid nopolar
set boxwidth 0.9 relative
set style data histograms
set style histogram columnstacked
set style fill solid 1.0 border -1
plot 'testArray.dat' using 1, '' using 3, '' using 5
which creates a stacked histogram from a data file:
15.00 YES 03.00 NO 06.00 YES
14.00 YES 05.00 NO 02.00 NO
03.00 YES 02.00 YES 01.00 YES
This works. However I want the color of each box to depend on the
value of the string in the next column and not which row it came from.
I want the color of the box for 15.00 (row 0 col 0) to be green
because the next col (row0 col)1 is "YES".
and I want the color of the box for 03.00 (row0 col1) to be red
because the next col (row0 col3) is "NO".
Does anyone know is there anyway to overwrite the color settings for
Thanks so much,