#! /bin/bash
#
matlab -nodisplay -nosplash -nodesktop -batch \
  "run('geyser_scatter.m');exit;" > geyser_scatter.txt
if [ $? -ne 0 ]; then
  echo "Run error."
  exit
fi
#
gnuplot < geyser_commands.txt
#
echo "Normal end of execution."
