added normalization to pair correlation calc
[physik/posic.git] / pair_corr_calc_script
index 3913ca1..7f25a74 100755 (executable)
@@ -39,11 +39,12 @@ set ytic auto
 set title 'Pair correlation function' 
 set xlabel 'r [A]' 
 set ylabel 'g(r) [a.u.]' 
+unset ytics
 set terminal postscript eps enhanced color solid lw 1 'Helvetica' 14 
 set output '$pdir/pair_corr.eps' 
 EOF
 
-echo -en "plot [1.5:3.0] " >> $pfile
+echo -en "plot [1.5:6.0] " >> $pfile
 
 komma=0
 
@@ -61,14 +62,14 @@ for i in $pdir/pair_corr-*; do
        if [ ! -z `echo $4 | grep b` ]; then
                [ "$komma" = "1" ] &&
                        echo -en ", " >> $pfile
-               echo -en "\"$i\" u 1:3 w l t \"ab $time\"" >> $pfile
+               echo -en "\"$i\" u 1:3 w l t \"aa $time\"" >> $pfile
                komma=1
        fi
 
        if [ ! -z `echo $4 | grep c` ]; then
                [ "$komma" = "1" ] &&
                        echo -en ", " >> $pfile
-               echo -en "\"$i\" u 1:4 w l t \"ab $time\"" >> $pfile
+               echo -en "\"$i\" u 1:4 w l t \"bb $time\"" >> $pfile
                komma=1
        fi