From 4745fc71282e7383063898ddad8248dd98dd6c17 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Wed, 18 Mar 2015 18:01:56 +0100 Subject: Add plot-predict-refine and plot-radius-resolution --- scripts/plot-radius-resolution | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 scripts/plot-radius-resolution (limited to 'scripts/plot-radius-resolution') diff --git a/scripts/plot-radius-resolution b/scripts/plot-radius-resolution new file mode 100755 index 00000000..da7a047d --- /dev/null +++ b/scripts/plot-radius-resolution @@ -0,0 +1,12 @@ +#!/bin/sh + +INFILE=$1 + +grep "profile_radius" $INFILE > plotme1.dat +grep "diffraction_resolution_limit" $INFILE > plotme2.dat +paste plotme1.dat plotme2.dat > plotme.dat +gnuplot -persist << EOF +set xlabel "Estimated crystal diameter (= 2/profile radius) / nm" +set ylabel "Resolution limit / nm^-1" +plot "plotme.dat" using (2/\$3):7 +EOF -- cgit v1.2.3