Using Gnuplot, I tried to fill the surface between a discrete gaussian and the x-axis: the problem comes when the gaussian is cut from the bounds parallel to the y-axis.
This is the result:
The code (splitted in two files):
set terminal pngcairo
set xrange [0:1]
set yrange [0:1.2]
########
set border linewidth 1.5
# Axes
set style line 11 lc rgb '#808080' lt 1
set border 3 back ls 11
set tics nomirror out scale 0.75
# Grid
set style line 12 lc rgb'#808080' lt 0 lw 1
set grid back ls 12
########
#set style fill transparent solid 0.5 noborder
set style function filledcurves below x1=0
set clip two
plot '../results/free' u 1:t w filledcurves below lc rgb "forest-green" notitle
Any suggestion to avoid that?