diff options
author | Thomas White <taw@physics.org> | 2010-11-17 14:36:03 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:27:06 +0100 |
commit | 45cccbb6eabd01d89451da6a1310586800570869 (patch) | |
tree | 92d959ab329f2814454ab465a62d60e04c49abb0 | |
parent | e2ff3965b0f43e3750d13e375d7a1dae72ac90ff (diff) |
Add Gnuplot scripts
-rw-r--r-- | scripts/check-hkl-completeness.gp | 12 | ||||
-rw-r--r-- | scripts/check-hkl-quality.gp | 11 | ||||
-rw-r--r-- | scripts/compare-hkl.gp | 9 |
3 files changed, 32 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 diff --git a/scripts/check-hkl-quality.gp b/scripts/check-hkl-quality.gp new file mode 100644 index 00000000..781dfb0e --- /dev/null +++ b/scripts/check-hkl-quality.gp @@ -0,0 +1,11 @@ +set ylabel "Redundancy [blue]" +set y2label "Post-merging SNR [red]" +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: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 new file mode 100644 index 00000000..4c92f87c --- /dev/null +++ b/scripts/compare-hkl.gp @@ -0,0 +1,9 @@ +set ylabel "R ignoring -ve ints (%) [blue]" +set ytics nomirror +set yrange [0:120] +#set y2range [0:50000] +#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 3 axis x1y1 |