From: W. Trevor King Date: Sun, 17 Jun 2012 20:18:03 +0000 (-0400) Subject: Convert tabs to spaces in expt-sawtooth.asy. X-Git-Tag: v1.0~341 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=300672c4eca3641b995f96e6380c9d9df9239995;p=thesis.git Convert tabs to spaces in expt-sawtooth.asy. --- diff --git a/src/figures/expt-sawtooth/expt-sawtooth.asy b/src/figures/expt-sawtooth/expt-sawtooth.asy index 6cfabe9..3581510 100644 --- a/src/figures/expt-sawtooth/expt-sawtooth.asy +++ b/src/figures/expt-sawtooth/expt-sawtooth.asy @@ -17,7 +17,7 @@ real kB = 1.3806504e-23; real T = 300; real p = 3.7e-10; real WLC(real x, real L, real p=p, real T=T, real kB=kB, - real xLmax=0.99, real fmax=fnmax) { + real xLmax=0.99, real fmax=fnmax) { real f = infinity; if (x < 0) return infinity; @@ -29,9 +29,9 @@ real WLC(real x, real L, real p=p, real T=T, real kB=kB, } void graphSawtooth(string file="datafile", real k, - int xcol=0, int fcol=1, - real xscale=1, real fscale=1, real dx=0, real df=0, - pen p=red) { + int xcol=0, int fcol=1, + real xscale=1, real fscale=1, real dx=0, real df=0, + pen p=red) { file fin=input(file).line(); real[][] a=fin.dimension(0,0); a=transpose(a); @@ -39,7 +39,7 @@ void graphSawtooth(string file="datafile", real k, real[] f=a[fcol]; x = x - f/k; /* Remove cantilever extension */ graphData(x=x, y=f, xscale=xscale, yscale=fscale, - dx=dx, dy=df, p=p, dots=false); + dx=dx, dy=df, p=p, dots=false); } /* expt.dat already scaled to nm and pN */