if test $# -eq 0
then
        echo "\nshowme (optional flag) [32-bit float function files] "\
	    "\n flag: -a  for ascii input, all files. (default: floats)"\
	    "\n\n Where is(are) the file(s)?\n\n"
	    
else
    flag=" "
    if test "$1" = "-a"
    then
	flag=$1
	shift
    fi
   while test $# -gt 0
   do


	reshape $flag -A  $1 > /tmp/"$USER" ;

	echo "set title \"$1\" ; set grid; plot \"/tmp/"$USER"\" title \"\" w lines ; pause -1" > /tmp/gnuplot_commands

	gnuplot "/tmp/gnuplot_commands"
 
	rm  /tmp/gnuplot_commands  /tmp/"$USER"  

        shift
   done
fi
