#!/bin/sh
#--------------------------------*- Tcl -*------------------------------------#
# Maurice LeBrun
# 12/24/02
#
# A front-end to run x01.tcl directly from the command line with
# a configured location for pltcl.
# Handles all usual plplot command arguments.  See "/opt/local/lib/plplot-single/bin/pltcl -h" for info.
#-----------------------------------------------------------------------------#
#\
exec "/opt/local/lib/plplot-single/bin/pltcl" -f "$0" ${1+"$@"}

source x01.tcl

plgver ver
puts [format "PLplot library version: %s" $ver ]

plinit
x01
plend
