# MeshTV Standard Alias file
#
# Created by Lisa J. Roberts
# 21 Jan 1998
#
# This file contains any MeshTV aliases which should be made
# available to all users.
 
# Add the ability to mark a zone with an asterisk.  Syntax for
# the new command is "mark i" to specify a specific zone number,
# "mark i, j" to specify a zone in a 2D mesh by i zones in, j zones
# up, or "mark i, j, k" to specify a zone in a 3D mesh by i zones in,
# j zones up and k zones back.
alias command=yes type=system mark "label type=z string=\"*\" zone={$*}; plot label"
   
# Provide shorter version of the delete command.
alias command=yes type=system rm "delete $*"

# Provide shorter version of the depthcue command.
alias command=yes type=system dc "depthcue"

#----------------------------------------------------------------------
# panx X_AMT
#
#   Pan the plot in the x direction only.  This command uses the
#   relative panning rather than absolute panning.
#
alias command=yes type=system panx "            \
   progn                                        \
      (if \"$1\" (pan $1 0) (error \"You must specify an amount to pan in the X direction.\")) \
   ";

# Provide shorter version of the panx command.
alias command=yes type=system px "panx $*"

#----------------------------------------------------------------------
# panx Y_AMT
#
#   Pan the plot in the y direction only.  This command uses the
#   relative panning rather than absolute panning.
#
alias command=yes type=system pany "            \
   progn                                        \
      (if \"$1\" (pan 0 $1) (error \"You must specify an amount to pan in the Y direction.\")) \
   ";

# Provide shorter version of the pany command.
alias command=yes type=system py "pany $*"

# Provide backward compatibility for the pan3 command.
alias command=yes type=system pan3 "pan $*"

# Provide backward compatibility for the panf3 command.
alias command=yes type=system panf3 "panf $*"

# Source the cale alias file.
alias command=yes type=cale cale "source meshtv.cale"

# Source the bdiv alias file.
alias command=yes type=bdiv bdiv "source meshtv.bdiv"
