#!/bin/sh

TMP_DIR="/tmp"
TMP_FILE="temp_path.fig"
LOCATION="$TMP_DIR/$TMP_FILE"

# > overwrites old file; >> concatenates.

cat coordinate_system.fig > "$LOCATION"

# force scale to match that of coordinate system
perl plot_path.pl $* -scale 30 >> "$LOCATION"

exec xfig "$LOCATION" &
