aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2015-04-03 17:01:36 -0700
committerThomas White <taw@physics.org>2015-04-20 12:54:56 +0200
commit9f221feb00bb2b6c3d8b5f115b72b64cdee272d5 (patch)
treeb9e12ab966c12442bdbd97ca9867f5c266b60587 /scripts
parent3d281edaf2250f847bc8d287074ad506c92db2db (diff)
scripts/compare-hkl.gp: Improve
Diffstat (limited to 'scripts')
-rw-r--r--scripts/compare-hkl.gp15
1 files changed, 8 insertions, 7 deletions
diff --git a/scripts/compare-hkl.gp b/scripts/compare-hkl.gp
index 7a86cf22..93ca5513 100644
--- a/scripts/compare-hkl.gp
+++ b/scripts/compare-hkl.gp
@@ -1,12 +1,13 @@
-set ylabel "R ( sum(|I1-kI2|) / sum(I1) ) (%) [blue]"
+set ylabel "Rsplit (%)"
+set y2label "CChalf (fraction)"
set ytics nomirror
-set yrange [0:120]
-#set y2range [0:50000]
-#set xrange [0.1:1.15]
-unset key
-#set y2tics
+set yrange [0:90]
+set y2range [0:1]
+set key bottom right
+set y2tics
set xtics ("100" 0.1000, "50" 0.2000, "10" 1.000, "8" 1.250, "6" 1.667, "5" 2.000, "4" 2.500, "3.5" 2.857, "3" 3.333, "2.5" 4.000, "2" 5.000, "1.8" 5.556, "1.6" 6.250, "1.4" 7.143, "1.2" 8.333, "1" 10.00, "0.9" 11.11, "0.8" 12.50)
set xlabel "Resolution d (= lambda/2sin(theta)) / Angstrom"
-plot "shells.dat" using 1:2 w l lw 3 lc 3 axis x1y1
+plot "rsplit.dat" using 1:2 w l lw 3 axis x1y1 title "Rsplit / %"
+replot "cchalf.dat" using 1:2 w l lw 3 axis x1y2 title "CChalf"