adapted to play around with new albe implementation
[physik/posic.git] / pair_corr_calc_script
index 7f25a74..67ba32c 100755 (executable)
@@ -27,7 +27,11 @@ fi
 
 if [ "$3" = "g" ]; then
 
-pdir=`dirname $1`
+if [ -d $1 ]; then
+       pdir=$1
+else
+       pdir=`dirname $1`
+fi
 pfile=$pdir/pair_corr.scr
 
 cat > $pfile <<-EOF
@@ -44,7 +48,7 @@ set terminal postscript eps enhanced color solid lw 1 'Helvetica' 14
 set output '$pdir/pair_corr.eps' 
 EOF
 
-echo -en "plot [1.5:6.0] " >> $pfile
+echo -en "plot [1.0:6.0] " >> $pfile
 
 komma=0