Jpp test-rotations-old
the software that should make you happy
Loading...
Searching...
No Matches
billabong-signal:plot.sh
Go to the documentation of this file.
1#!/usr/bin/env zsh
2script=${0:t}
3
4source $JPP_DIR/setenv.sh $JPP_DIR >& /dev/null
5
6zmodload zsh/mathfunc
7
8set_variable DEBUG 2
9set_variable: FORMAT GRAPHICS_FORMAT gif
10set_variable+ BATCH GRAPHICS_BATCH -B
11
12if do_usage $*; then
13 usage "$script <input file>"
14fi
15
16if (( $# != 1 )); then
17 fatal "Wrong number of arguments."
18fi
19
20set_variable GRAPH_TXT $1
21set_variable GRAPH_ROOT graph.root
22
23JGraph \
24 -f $GRAPH_TXT \
25 -o $GRAPH_ROOT
26
27JPlot1D \
28 -@ "leftMargin = 0.2" \
29 -@ "titleOffset = 1.3" \
30 -f $GRAPH_ROOT:\.\* \
31 -x "8.1 12.1" \
32 -y "0.0 2.5e2" \
33 -XX \
34 -> "E [GeV]" \
35 -\^ "V [km^{3}]" \
36 -G XY \
37 -T "" \
38 -o volume.$FORMAT $BATCH
39
40rm -f $GRAPH_ROOT >& /dev/null