# generic commands for twographbox output size load "twograph3D.in" set data style lines set xlabel "{/Times-Italic x}" set ylabel "{/Times-Italic y}" 0,0 set zlabel "{/Times-Italic P}({/Times-Italic y} |{/Times-Italic x})" 0,-0.3 set xrange [0:1] set yrange [0:1] set nokey set samples 200,200 set isosamples 40,40 #set hidden3d n(x,m,s) = (1/(s*sqrt(2*pi)))*exp(-(((x-m)**2)/(2*s**2))) a = -0.5 b = 0.8 s = 0.1 set output "regression-model.eps" splot n(y,a*x+b,s) lw 2