From: W. Trevor King Date: Wed, 28 Apr 2010 22:24:18 +0000 (-0400) Subject: Converted figures/fit-space/fig.gp to fit-valley.asy. X-Git-Tag: v1.0~400 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9ee4130c4609e98c3d146e21a9ce1c4e545d61aa;p=thesis.git Converted figures/fit-space/fig.gp to fit-valley.asy. But the current output PDF is big and slow :(. --- diff --git a/tex/src/figures/fit-space/SConscript b/tex/src/figures/fit-space/SConscript index 4d5ace9..b1d7073 100644 --- a/tex/src/figures/fit-space/SConscript +++ b/tex/src/figures/fit-space/SConscript @@ -1,7 +1,7 @@ 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') diff --git a/tex/src/figures/fit-space/fig.gp b/tex/src/figures/fit-space/fig.gp deleted file mode 100644 index 356e025..0000000 --- a/tex/src/figures/fit-space/fig.gp +++ /dev/null @@ -1,23 +0,0 @@ -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)) diff --git a/tex/src/figures/fit-space/fit-valley.asy b/tex/src/figures/fit-space/fit-valley.asy new file mode 100644 index 0000000..fb5748c --- /dev/null +++ b/tex/src/figures/fit-space/fit-valley.asy @@ -0,0 +1,18 @@ +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); diff --git a/tex/src/sawsim/discussion.tex b/tex/src/sawsim/discussion.tex index 807aaf3..b1cf557 100644 --- a/tex/src/sawsim/discussion.tex +++ b/tex/src/sawsim/discussion.tex @@ -319,7 +319,7 @@ about the protein from other sources. \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