From 1e62bb9dd2893e61c953528fe77adab0eafb4f84 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Tue, 10 Jan 2012 15:51:33 +0100 Subject: Use non-linear Angstrom labels in gnuplot scripts --- scripts/check-hkl-completeness.gp | 5 ++++- scripts/check-hkl-quality.gp | 5 ++++- scripts/compare-hkl.gp | 5 ++++- 3 files changed, 12 insertions(+), 3 deletions(-) (limited to 'scripts') 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 -- cgit v1.2.3