#!/bin/sh if [ -z "$1" ]; then echo "usage: $0 file [center]" 1>&2 exit 1 fi if [ ! -f "$1" ]; then echo "$1: not found" 1>&2 exit 1 fi c=${2:--25} gnuplot -persist <