#!/bin/sh

./test > test.out

gnuplot <<EOF
set terminal postscript eps
set output "test.eps"
set title 'Test'
set xlabel 'Variable x'
set ylabel 'Variable y'
plot [-1:1] [0:1] "test.out" with linespoints
EOF
