But the current output PDF is big and slow :(.
from site_cons.site_init import link_wtk_graph
-FIGURES = ['king_vs_best', 'fit_valley'] #, 'mean_and_stdev']
+FIGURES = ['king_vs_best', 'fit-valley'] #, 'mean_and_stdev']
# Get the passed in environment.
Import('env')
+++ /dev/null
-set terminal pdf enhanced font 'Times,7' size 9cm, 6cm
-set output 'fig.pdf'
-unset key
-set nosurface
-set style data lines
-
-#set noclabel
-#set contour base
-#set cntrparam levels discrete 0.03, 0.04, 0.05
-
-set pm3d
-set style data pm3d
-
-set view map
-set logscale x
-set xrange [0.002:0.26383]
-set yrange [0.12:0.198077]
-set xtics format "10^{%L}"
-set xlabel '{/Times-Italic k_{uo}} (s^{-1})'
-set ylabel '{/Symbol D}{/Times-Italic x_u} (nm)'
-
-#splot 'data' using 1:($2*1e9):3
-splot 'data' using 1:($2*1e9):(log10($3))
--- /dev/null
+import wtk_graph;
+
+size(15cm,10cm,IgnoreAspect);
+
+scale(Log, Linear);
+real xscale=1;
+real yscale=1;
+
+graphMatrixFile("data", xscale=xscale, yscale=yscale, zfn=log10);
+
+xlimits(0.002,0.26383);
+ylimits(0.12,0.198077);
+
+label(sLabel("Fit quality"), point(N),N);
+xaxis(sLabel("$k_{uo}$ (s$^-1$)"),BottomTop,LeftTicks);
+yaxis(sLabel("$x_u$ (nm)"),LeftRight,RightTicks);
+
+add(legend(),point(E),20E,UnFill);
\begin{figure}
\begin{center}
- \includegraphics{figures/fit-space/fig}
+ \includegraphics{figures/fit-space/fit-valley}
\caption{Fit quality between an experimental data set and simulated
data sets obtained using various values of unfolding rate
parameters $k_{u0}$ and $\Delta x_u$. The experimental data are