aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-07-30 18:45:01 +0200
committerThomas White <taw@physics.org>2012-02-22 15:26:55 +0100
commit79fbfcf29a0ca1b84befab6214178e9885efde6a (patch)
treea4279fcc3ee1c5449084b32b1b8b1d1651ebf638
parente09a64256a29547943a432ac5d41819835f8483a (diff)
Add scripts/zone-axes for rendering multiple zone axes with render_hkl
-rwxr-xr-xscripts/zone-axes20
1 files changed, 20 insertions, 0 deletions
diff --git a/scripts/zone-axes b/scripts/zone-axes
new file mode 100755
index 00000000..4f7b0ec6
--- /dev/null
+++ b/scripts/zone-axes
@@ -0,0 +1,20 @@
+#!/bin/sh
+
+FILENAME=$1
+SYM="6/mmm"
+
+render_hkl --zone-axis -p ../molecule.pdb --colscale=colour --weighting=I \
+ --boost=5 ${FILENAME} \
+ --down=1,0,0 --right=0,1,0 --output=zah-001.pdf -y ${SYM}
+
+render_hkl --zone-axis -p ../molecule.pdb --colscale=colour --weighting=I \
+ --boost=50 ${FILENAME} \
+ --down=0,0,1 --right=-1,1,0 --output=zab-110.pdf -y ${SYM}
+
+render_hkl --zone-axis -p ../molecule.pdb --colscale=colour --weighting=I \
+ --boost=50 ${FILENAME} \
+ --down=0,0,1 --right=0,1,0 --output=zab-100.pdf -y ${SYM}
+
+render_hkl --zone-axis -p ../molecule.pdb --colscale=colour --weighting=I \
+ --boost=50 ${FILENAME} \
+ --down=0,0,1 --right=1,0,0 --output=zab-010.pdf -y ${SYM}