#!/bin/sh

TMP_DIR="/tmp"
TMP_FILE="temp_sats.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_sats.pl $* -scale 30 >> "$LOCATION"

exec xfig "$LOCATION" &
