# set terminal pngcairo transparent enhanced font "arial,10" fontscale 1.0 size 600, 400 # set output 'waterfallplot.1.png' unset key set view 42, 27, 1, 1.2 set samples 101, 101 set style data lines set xyplane at 0 set xtics border in scale 0,0 mirror norotate autojustify set ytics border in scale 0,0 mirror norotate autojustify set ytics norangelimit 10.0000,10 ,50.0000 set title "Waterfall plot" set title offset character 0, -5, 0 font "" textcolor lt -1 norotate set xlabel "x" set xrange [ 0.00000 : 0.900000 ] noreverse set ylabel "scan" set yrange [ 0.00000 : 50.0000 ] noreverse set zrange [ 0.00000 : 15.0000 ] noreverse Gauss(x,mu,sigma) = 1./(sigma*sqrt(2*pi)) * exp( -(x-mu)**2 / (2*sigma**2) ) A(x) = Gauss(x, 0.2, 0.05) B(x) = 0.8 * Gauss(x, 0.2 + s, 0.03) C(x) = 0.1 * Gauss(x, 0.2 + 1.5*s, 0.02) F(x) = f * A(x) + (1-f) * B(x) + C(x) NO_ANIMATION = 1 s = 0.25 f = 0.333333333333333 ## Last datafile plotted: "$DATA" splot for [scan=48:2:-2] $DATA index scan using 1:(scan):2 with filledcurves lc "black" fc background