OverviewFilesCommitsIssuesDocsReleasesPeers

opencog-learn / learn-lang-diary / en-sims-p3 / delta-mi-dist.gplot

25 lines · gplot ref:
# set term png small color

#################################################
# Used to generate the the distribution of delta-MI values.
#
# set term png
# set out 'delta-mi-dist.png'
set term postscript eps enhanced color 24
set out 'delta-mi-dist.eps'
set key left top
set logscale y
set title "Distribution of Delta-MI"
set xlabel "Delta-MI"
set ylabel "Probability"
set yrange [5e-6:0.2]
set format y "10^{%L}"
sigma=3.7
off=-2.1
mu=-7.77
g(x) = exp(-(x-mu)**2/(2*sigma**2))/(sigma * sqrt(2*3.14159))

plot "delta-mi-dist.dat" using 2:3 with lines lw 2 title "", \
     "delta-mi-dist.dat" using 2:(g($2)) with lines lw 2 title "G(-7.8, 3.7)"
#################################################