File: testpf_compare

package info (click to toggle)
ploticus 2.41-5
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 2,848 kB
  • sloc: ansic: 46,148; perl: 1,590; sh: 392; makefile: 161
file content (55 lines) | stat: -rwxr-xr-x 1,899 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
#!/bin/sh
#
DEV=$1
OUTDIR=$2
ARGS=
if [ "$DEV" = "" ]; then
  DEV=x11
fi

echo "the 'compare' prefab is no longer available."
exit


echo compare1..
pl -prefab compare data=dexa.dat header=yes catfields=strain \
  y=RFbmc stubvert=yes barwidth=0.1 \
  "title= Comparison of one variable" "titledet= adjust=0,+0.4" \
  -$DEV -o ${OUTDIR}compare1.$DEV $ARGS 

echo compare2..
pl -prefab compare data=dexa.dat header=yes catfields=strain \
  y=RFbmc y2=LFbmc stubvert=yes barwidth=0.1 \
  "title= Comparison of two variables, no subcats" "titledet= adjust=0,+0.4" \
  -$DEV -o ${OUTDIR}compare2.$DEV $ARGS 

echo compare3..
pl -prefab compare data=dexa.dat header=yes catfields=strain \
  y=RFbmc y2=LFbmc y3=RFbmd y4=LFbmd  stubvert=yes \
  "title= Comparison of four variables, no subcats" "titledet= adjust=0,+0.4" \
  -$DEV -o ${OUTDIR}compare3.$DEV $ARGS 

echo compare4..
pl -prefab compare data=dexa.dat header=yes catfields=strain,sex \
  y=RFbmc y2=LFbmc leftsub=f rightsub=m stubvert=yes \
  "title= Comparison of two variables, with f & m subcats" "titledet= adjust=0,+0.4" \
  -$DEV -o ${OUTDIR}compare4.$DEV $ARGS 

echo compare5..
pl -prefab compare data=dexa.dat header=yes catfields=strain,sex \
  "rectangle= 1 2 8 4"  -pagesize 9,5 \
  y=RFbmc y2=LFbmc y3=RFbmd y4=LFbmd leftsub=f rightsub=m stubvert=yes \
  "title= Comparison of four variables, with f & m subcats" "titledet= adjust=0,+0.4" \
  -$DEV -o ${OUTDIR}compare5.$DEV $ARGS 

echo compare6..
 pl -prefab compare data=data28 header=yes catfields=strain \
    "rectangle=1 2 6 5"  \
    y=pct_mac y2=pct_mac y3=pct_mac y4=pct_mac  \
    "ptselect= @sactime = 0 && @inj = trt" \
    "ptselect2= @sactime = 24 && @inj = trt" \
    "ptselect3= @sactime = 48 && @inj = trt" \
    "ptselect4= @sactime = 72 && @inj = trt" \
     ptselecttags=0,24,48,72 \
    stubvert=yes erroneway=yes  \
  -$DEV -o ${OUTDIR}compare6.$DEV $ARGS