aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2012-01-10 15:51:33 +0100
committerThomas White <taw@physics.org>2012-02-22 15:27:42 +0100
commit1e62bb9dd2893e61c953528fe77adab0eafb4f84 (patch)
tree7b9beb4db01e12571f74ece3e47f6576b1cbe3a7 /scripts
parentab0fb84c46c76bca3a3d70983ebadebf631699a0 (diff)
Use non-linear Angstrom labels in gnuplot scripts
Diffstat (limited to 'scripts')
-rw-r--r--scripts/check-hkl-completeness.gp5
-rw-r--r--scripts/check-hkl-quality.gp5
-rw-r--r--scripts/compare-hkl.gp5
3 files changed, 12 insertions, 3 deletions
diff --git a/scripts/check-hkl-completeness.gp b/scripts/check-hkl-completeness.gp
index 49994a1a..b131828e 100644
--- a/scripts/check-hkl-completeness.gp
+++ b/scripts/check-hkl-completeness.gp
@@ -6,7 +6,10 @@ set yrange [0:100]
#set xrange [0.1:1.15]
unset key
set y2tics
-set xlabel "Resolution (one over d) (1/nm)"
+
+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 1 axis x1y2, \
"shells.dat" using 1:3 w l lw 3 lc 4 axis x1y2, \
"shells.dat" using 1:4 w l lw 3 lc 3 axis x1y1
diff --git a/scripts/check-hkl-quality.gp b/scripts/check-hkl-quality.gp
index 781dfb0e..2f9b9ee5 100644
--- a/scripts/check-hkl-quality.gp
+++ b/scripts/check-hkl-quality.gp
@@ -6,6 +6,9 @@ set ytics nomirror
#set xrange [0.1:1.15]
unset key
set y2tics
-set xlabel "Resolution (one over d) (1/nm)"
+
+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:6 w l lw 3 lc 3 axis x1y1, \
"shells.dat" using 1:7 w l lw 3 lc 1 axis x1y2
diff --git a/scripts/compare-hkl.gp b/scripts/compare-hkl.gp
index 71ad9a4e..7a86cf22 100644
--- a/scripts/compare-hkl.gp
+++ b/scripts/compare-hkl.gp
@@ -5,5 +5,8 @@ set yrange [0:120]
#set xrange [0.1:1.15]
unset key
#set y2tics
-set xlabel "Resolution (one over d) (1/nm)"
+
+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