Jpp  debug
the software that should make you happy
footprint-TxTy:plot.sh
Go to the documentation of this file.
1 #!/bin/zsh
2 script=${0##*/}
3 
4 if [ -z $JPP_DIR ]; then
5  echo "Variable JPP_DIR undefined."
6  exit
7 fi
8 
9 source $JPP_DIR/setenv.sh $JPP_DIR >& /dev/null
10 
11 set_variable: DEBUG ACOUSTICS_DEBUG 2
12 set_variable: WORKDIR ACOUSTICS_WORKDIR ./
13 set_variable: FORMAT GRAPHICS_FORMAT gif
14 set_variable+ BATCH GRAPHICS_BATCH -B
15 
16 if do_usage $*; then
17  usage "$script"
18 fi
19 
20 set_variable FOOTPRINT_TXT $WORKDIR/footprint.txt
21 set_variable FOOTPRINT_ROOT $WORKDIR/footprint.root
22 
23 if [[ ! -f $FOOTPRINT_TXT ]] then
24  fatal "No footprint data file $FOOTPRINT_TXT."
25 fi
26 
27 JGraph2D \
28  -f $FOOTPRINT_TXT \
29  -o $FOOTPRINT_ROOT
30 
31 typeset -Z 4 STRING
32 
33 JPlot2D \
34  -f ${FOOTPRINT_ROOT}:\.\* \
35  -> "Tx" \
36  -< "Ty" \
37  -\^ "RMS" \
38  -N "X 505" \
39  -N "Y 505" \
40  -O COLZ \
41  -T "" \
42  -o $WORKDIR/footprint.$FORMAT $BATCH
43 
44 rm -f $FOOTPRINT_ROOT
45 
46