Jpp 21.0.0-rc.1
the software that should make you happy
Loading...
Searching...
No Matches
JPrintPDF.sh
Go to the documentation of this file.
1#!/usr/bin/env zsh
2#
3# \author mdejong
4#
5version=1.0
6script=${0##*/}
7
8# ------------------------------------------------------------------------------------------
9#
10# Utility script to print PDFs.
11#
12# ------------------------------------------------------------------------------------------
13
14
15if [ -z $JPP_DIR ]; then
16 echo "Variable JPP_DIR undefined."
17 exit
18fi
19
20source $JPP_DIR/setenv.sh $JPP_DIR >& /dev/null
21
22set_variable E 1e3
23
24T_NS=(-2.5 0.0 +2.5 10.0 50.0 100.0)
25
26if do_usage $*; then
27 usage "$script"
28fi
29
30for R in 10 50 100; do
31 for DIR in NORTH EAST SOUTH WEST; do
32 for type in 1 2 3 4 5 6; do
33 echo "$T_NS[*]" | JDrawPDF -F $type -D "${(P)DIR}" -R $R -E $E -z 120
34 done
35 done
36done