Is it possible to have a color gradient between filledcurves ?
In the followinf exeample, I would like to have a gradient from green to red starting at the central green line and stoping at the upper red line ; and the same starting from the green line and stopping at the lower red line. That instead of the unique cyan color.
$data1 << EOD
1 "1" 3.12 9.47 22.17
2 "2" 5.52 13.19 29.7
3 "3" 2.79 10.6 25.82
4 "4" 2.29 6.44 15.85
5 "5" 2.04 4.14 9.7
6 "8" 1.53 3.2 8.67
7 "12" 0.87 2.26 8.89
EOD
plot "$data1" using 1:3:5 with filledcurves fc rgb 'cyan' title 'Normal values', \
'' using 1:4 with lines lw 2 lc rgb 'green' title 'Mean', \
'' using 1:3 with lines lw 2 lc rgb 'red' title 'Low', \
'' using 1:5 with lines lw 2 lc rgb 'red' title 'High'
I would be gratefull if someone could help as I am not a gnuplot specialist.
Hello,
Is it possible to have a color gradient between filledcurves ?
In the followinf exeample, I would like to have a gradient from green to red starting at the central green line and stoping at the upper red line ; and the same starting from the green line and stopping at the lower red line. That instead of the unique cyan color.
I would be gratefull if someone could help as I am not a gnuplot specialist.
Regards,
Alain
PS : image is here https://www.dropbox.com/s/vragkqu8yhhokdb/gradient.png