8# ------------------------------------------------------------------------------------------
 
   10#                         Utility script to test JHistogram3D.
 
   12# ------------------------------------------------------------------------------------------
 
   15if [ -z $JPP_DIR ]; then
 
   16    echo "Variable JPP_DIR undefined."
 
   21source $JPP_DIR/setenv.sh $JPP_DIR
 
   25set_variable   IO_FILE  ${script%%.sh}.dat  
 
   29    usage "$script [input/output file]"
 
   33    1) set_variable  IO_FILE  $1;;
 
   38if [[ ! -f $IO_FILE ]]; then
 
   40    print_variable  IO_FILE
 
   42    $JPP_DIR/examples/JTools/JHistogram3D \
 
   50if [[ -f $IO_FILE ]]; then
 
   52    print_variable  IO_FILE
 
   54    $JPP_DIR/examples/JTools/JHistogram3D \