# -*- gnuplot -*- # # TrainChar.gpt - Generate fig:TrainChar ("algorithms.tex") # # Copyright (C) 2007 by Andrew Fraser # # This file is part of HMM_DS_Code. # # HMM_DS_Code is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # HMM_DS_Code is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. # set terminal epslatex monochrome dashed "normal" 8.4682441 # set size 0.8,0.8 set output "`echo -n $GP_OUTPUT`" set border 3 # front linetype -1 linewidth 1.000 unset grid unset key set logscale x 10 set ticslevel 0.5 set format '$%g$' set xrange [ 1:500 ] set xrange [ * : * ] noreverse nowriteback # (currently [-10.0000:10.0000] ) set xdata set xzeroaxis linetype -2 linewidth 1.000 set xtics border nomirror norotate set xlabel '$n$' set yrange [ -1.3:-0.45 ] set ydata set yzeroaxis linetype -2 linewidth 1.000 set ytics border nomirror norotate set ytics .25 set ylabel '\llps' set boxwidth set style fill empty border set offsets 0, 0, 0, 0 set pointsize 1 set encoding default set clabel '$%8.3g$' set origin 0,0 set style data lines set palette positive nops_allcF maxcolors 0 gamma 1.5 color model RGB set palette rgbformulae 7, 5, 15 set colorbox default set loadpath set fontpath set fit noerrorvariables plot "`echo -n $GP_INPUT1`" using 1 with lines, \ "`echo -n $GP_INPUT1`" using 2 with lines, \ "`echo -n $GP_INPUT1`" using 3 with lines, \ "`echo -n $GP_INPUT1`" using 4 with lines, \ "`echo -n $GP_INPUT1`" using 5 with lines set output