# set terminal pngcairo transparent enhanced font "arial,8" fontscale 1.0 size 512, 280 # set output 'transparent.1.png' set clip two set bar 1.000000 front set style fill solid 1.00 noborder set style circle radius graph 0.02, first 0.00000, 0.00000 set style ellipse size graph 0.05, 0.03, first 0.00000 angle 0 units xy set key title "Gaussian Distribution" center set key inside left top vertical Left reverse enhanced autotitle nobox set key noinvert samplen 1 spacing 1 width 0 height 0 set style textbox transparent margins 1.0, 1.0 border unset logscale set style data lines set style function filledcurves y1=0 unset paxis 1 tics unset paxis 2 tics unset paxis 3 tics unset paxis 4 tics unset paxis 5 tics unset paxis 6 tics unset paxis 7 tics set title "Solid filled curves" set xrange [ -5.00000 : 5.00000 ] noreverse nowriteback set yrange [ 0.00000 : 1.00000 ] noreverse nowriteback set paxis 1 range [ * : * ] noreverse nowriteback set paxis 2 range [ * : * ] noreverse nowriteback set paxis 3 range [ * : * ] noreverse nowriteback set paxis 4 range [ * : * ] noreverse nowriteback set paxis 5 range [ * : * ] noreverse nowriteback set paxis 6 range [ * : * ] noreverse nowriteback set paxis 7 range [ * : * ] noreverse nowriteback set colorbox vertical origin screen 0.9, 0.2, 0 size screen 0.05, 0.6, 0 front noinvert bdefault unset colorbox Gauss(x,mu,sigma) = 1./(sigma*sqrt(2*pi)) * exp( -(x-mu)**2 / (2*sigma**2) ) d1(x) = Gauss(x, 0.5, 0.5) d2(x) = Gauss(x, 2., 1.) d3(x) = Gauss(x, -1., 2.) save_encoding = "utf8" GPFUN_Gauss = "Gauss(x,mu,sigma) = 1./(sigma*sqrt(2*pi)) * exp( -(x-mu)**2 / (2*sigma**2) )" GPFUN_d1 = "d1(x) = Gauss(x, 0.5, 0.5)" GPFUN_d2 = "d2(x) = Gauss(x, 2., 1.)" GPFUN_d3 = "d3(x) = Gauss(x, -1., 2.)" plot d1(x) fs solid 1.0 lc rgb "forest-green" title "μ = 0.5 σ = 0.5", d2(x) lc rgb "gold" title "μ = 2.0 σ = 1.0", d3(x) lc rgb "dark-violet" title "μ = -1.0 σ = 2.0"