aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2014-03-10 15:25:18 +0100
committerThomas White <taw@physics.org>2014-03-10 15:25:18 +0100
commitbd4b10315c16eb8e52362fb345b51182a9ee1dbc (patch)
treec88a8efd84988b1ffdee7135a947c49f86775bf6
parent9a193a4b42a335a9367f8aefed7fa1029aff7f9a (diff)
Tweak scripts/fg-graph
-rwxr-xr-xscripts/fg-graph6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/fg-graph b/scripts/fg-graph
index 701277c3..30ca522a 100755
--- a/scripts/fg-graph
+++ b/scripts/fg-graph
@@ -33,10 +33,10 @@ CMAX=0.3
gnuplot -p << EOF
set terminal pngcairo size 1600,1000 enhanced monochrome font 'Helvetica,20' linewidth 2
set output "correlation.png"
-set xlabel "Iteration i"
+set xlabel "Number of crystals"
set ylabel "Correlation"
rnd(x) = x - floor(x) < 0.5 ? floor(x) : ceil(x)
-round(x1,x2)=rnd(10**x2*x1)/10.0**x2 # funktion mit zwei Argumenten, x1 wird gerundet x2 anzahl der Stellen nach dem Komma
+round(x1,x2)=rnd(10**x2*x1)/10.0**x2
set xzeroaxis lc rgb "black" lt 1
set key top left
set xrange [0:${NITER}*${NPATT}]
@@ -46,7 +46,7 @@ set xtics nomirror
set x2tics nomirror
set x2range [0:${NITER}]
-set x2label "Iteration i gemessen in n"
+set x2label "Number of passes over all crystals"
set arrow from ${NPATT},${CMIN} to ${NPATT},${CMAX} nohead lc rgb "black"
plot\