-# 100 db in type 1 sc (insdide sc)
-#for i in $1/video/atomic_conf_*.xyz; do
-# displace=`echo $i | awk -F_ '{ print $5 }' | sed 's/\.xyz//'`
-#echo "$i $displace ..."
-#./visualize -w 640 -h 480 -d $i \
-# -nll 1.44 -0.56 0.84 -fur 2.56 0.56 2.06 \
-# -b 1.5 -0.5 1.0 2.5 0.5 2.0 \
-# -c 2.1 -2.0 1.6 -L 2.0 0 1.5 \
-# -r 0.6 -B 0.1 -D $displace
-#done
+# first unit cell displaying mirrored atoms
+if [ "$type" = "1m" ]; then
+echo "type: 1 no rotation, mirrored"
+./visualize -w 640 -h 480 -d $i \
+ -nll -0.20 -0.20 -0.50 -fur 1.20 1.20 1.20 \
+ -b 0.0 0.0 0.0 1.0 1.0 1.0 \
+ -c 0.8 -1.7 0.9 -L 0.5 -1.0 0.5 \
+ -r 0.6 -m 2.0 -2.0 0.0 2.0 2.0 0.0 0.0 0.0 3.0
+fi
+
+# three unit cells in each direction displaying mirrored atoms
+if [ "$type" = "3m" ]; then
+echo "type: 3 no rotation, mirrored"
+./visualize -w 640 -h 480 -d $i \
+ -nll -0.20 -0.20 -0.20 -fur 3.20 3.20 3.20 \
+ -b 0.0 0.0 0.0 3.0 3.0 3.0 \
+ -c 1.3 -3.7 2.4 -L 1.5 -1.0 1.5 \
+ -r 0.6 -m 2.0 -2.0 0.0 2.0 2.0 0.0 0.0 0.0 3.0
+fi