sigma.plt 300 Bytes
Newer Older
Francois Gygi committed
1
#!/bin/bash
2 3 4 5 6
if [ $1 == "-range" ]
then
  range=$2
  shift 2
fi
Francois Gygi committed
7
gnuplot -persist <<EOF
8
plot $range "<grep -h sigma_xx $*" u 2 w l, "<grep -h sigma_yy $*" u 2 w l, \
Francois Gygi committed
9 10 11
"<grep -h sigma_zz $*" u 2 w l, "<grep -h sigma_xy $*" u 2 w l, \
"<grep -h sigma_yz $*" u 2 w l, "<grep -h sigma_xz $*" u 2 w l, 0
EOF