aboutsummaryrefslogtreecommitdiff
path: root/scripts/check-hkl-completeness.gp
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-11-17 14:36:03 +0100
committerThomas White <taw@physics.org>2012-02-22 15:27:06 +0100
commit45cccbb6eabd01d89451da6a1310586800570869 (patch)
tree92d959ab329f2814454ab465a62d60e04c49abb0 /scripts/check-hkl-completeness.gp
parente2ff3965b0f43e3750d13e375d7a1dae72ac90ff (diff)
Add Gnuplot scripts
Diffstat (limited to 'scripts/check-hkl-completeness.gp')
-rw-r--r--scripts/check-hkl-completeness.gp12
1 files changed, 12 insertions, 0 deletions
diff --git a/scripts/check-hkl-completeness.gp b/scripts/check-hkl-completeness.gp
new file mode 100644
index 00000000..49994a1a
--- /dev/null
+++ b/scripts/check-hkl-completeness.gp
@@ -0,0 +1,12 @@
+set ylabel "Completeness [blue]"
+set y2label "Reflections measured [red] Possible [pink]"
+set ytics nomirror
+set yrange [0:100]
+#set y2range [0:10]
+#set xrange [0.1:1.15]
+unset key
+set y2tics
+set xlabel "Resolution (one over d) (1/nm)"
+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