#! /bin/bash
#
octave damped_sine_plot.m > damped_sine_plot.txt
if [ $? -ne 0 ]; then
  echo "Run error."
  exit
fi
#
gnuplot < damped_sine_commands.txt
#
echo "Normal end of execution."
