diff --git a/util/econst.plt b/util/econst.plt index 5044fd2..bd34395 100755 --- a/util/econst.plt +++ b/util/econst.plt @@ -1,9 +1,12 @@ #!/bin/bash -# econst.plt: plot in one or more MD simulations -# use: econst.plt mdrun1.r [mdrun2.r ...] +if [ $1 == "-range" ] +then + range=$2 + shift 2 +fi gnuplot -persist <' $1" u 2 w l, "' $2" u 2 w l +plot $range " and in one or more MD simulations -# use: econste.plt mdrun1.r [mdrun2.r ...] +if [ $1 == "-range" ] +then + range=$2 + shift 2 +fi gnuplot -persist <' $*" u 2 w l +p $range "' $*" u 2 w l EOF diff --git a/util/econste_cp.plt b/util/econste_cp.plt new file mode 100755 index 0000000..4bf04f2 --- /dev/null +++ b/util/econste_cp.plt @@ -0,0 +1,9 @@ +#!/bin/bash +if [ $1 == "-range" ] +then + range=$2 + shift 2 +fi +gnuplot -persist <' $*" u 2 w l, "' $*" u 2 w l +EOF diff --git a/util/eigsum.plt b/util/eigsum.plt new file mode 100755 index 0000000..f6c445f --- /dev/null +++ b/util/eigsum.plt @@ -0,0 +1,9 @@ +#!/bin/bash +if [ $1 == "-range" ] +then + range=$2 + shift 2 +fi +gnuplot -persist < in one or more simulations -# use: etotal.plt run1.r [run2.r ...] +if [ $1 == "-range" ] +then + range=$2 + shift 2 +fi gnuplot -persist <' $*" u 2 w l +plot $range "' $*" u 2 w l EOF diff --git a/util/etotal_cmp.plt b/util/etotal_cmp.plt index ea4a3e0..f489b0c 100755 --- a/util/etotal_cmp.plt +++ b/util/etotal_cmp.plt @@ -1,7 +1,9 @@ #!/bin/bash -# etotal_cmp.plt: compare in two MD simulations -# use: etotal_cmp.plt mdrun1.r mdrun2.r +if [ $1 == "-range" ] +then + range=$2 + shift 2 +fi gnuplot -persist <' $1" u 2 w l, "' $2" u 2 w l +plot $range "' $1" u 2 w l, "' $2" u 2 w l EOF diff --git a/util/etotal_int.plt b/util/etotal_int.plt index 41b3f70..b8a409c 100755 --- a/util/etotal_int.plt +++ b/util/etotal_int.plt @@ -1,6 +1,10 @@ #!/bin/bash -# etotal_int.plt: plot in one or more simulations -# use: etotal_int.plt run1.r [run2.r ...] +if [ $1 == "-range" ] +then + range=$2 + shift 2 +fi gnuplot -persist < in two simulations -# use: etotal_int_cmp.plt run1.r run2.r +if [ $1 == "-range" ] +then + range=$2 + shift 2 +fi gnuplot -persist <' $1" u 2 w l, "' $2" u 2 w l +plot $range " in one or more MD simulations -# use: temp_ion.plt mdrun1.r [mdrun2.r ...] +if [ $1 == "-range" ] +then + range=$2 + shift 2 +fi gnuplot -persist <' $*" u 2 w l +plot $range "' $*" u 2 w l EOF