| 1 | #!/bin/sh |
| 2 | # |
| 3 | DEV=$1 |
| 4 | OUTDIR=$2 |
| 5 | ARGS= |
| 6 | if [ "$DEV" = "" ]; then |
| 7 | DEV=x11 |
| 8 | fi |
| 9 | |
| 10 | echo "the 'compare' prefab is no longer available." |
| 11 | exit |
| 12 | |
| 13 | |
| 14 | echo compare1.. |
| 15 | pl -prefab compare data=dexa.dat header=yes catfields=strain \ |
| 16 | y=RFbmc stubvert=yes barwidth=0.1 \ |
| 17 | "title= Comparison of one variable" "titledet= adjust=0,+0.4" \ |
| 18 | -$DEV -o ${OUTDIR}compare1.$DEV $ARGS |
| 19 | |
| 20 | echo compare2.. |
| 21 | pl -prefab compare data=dexa.dat header=yes catfields=strain \ |
| 22 | y=RFbmc y2=LFbmc stubvert=yes barwidth=0.1 \ |
| 23 | "title= Comparison of two variables, no subcats" "titledet= adjust=0,+0.4" \ |
| 24 | -$DEV -o ${OUTDIR}compare2.$DEV $ARGS |
| 25 | |
| 26 | echo compare3.. |
| 27 | pl -prefab compare data=dexa.dat header=yes catfields=strain \ |
| 28 | y=RFbmc y2=LFbmc y3=RFbmd y4=LFbmd stubvert=yes \ |
| 29 | "title= Comparison of four variables, no subcats" "titledet= adjust=0,+0.4" \ |
| 30 | -$DEV -o ${OUTDIR}compare3.$DEV $ARGS |
| 31 | |
| 32 | echo compare4.. |
| 33 | pl -prefab compare data=dexa.dat header=yes catfields=strain,sex \ |
| 34 | y=RFbmc y2=LFbmc leftsub=f rightsub=m stubvert=yes \ |
| 35 | "title= Comparison of two variables, with f & m subcats" "titledet= adjust=0,+0.4" \ |
| 36 | -$DEV -o ${OUTDIR}compare4.$DEV $ARGS |
| 37 | |
| 38 | echo compare5.. |
| 39 | pl -prefab compare data=dexa.dat header=yes catfields=strain,sex \ |
| 40 | "rectangle= 1 2 8 4" -pagesize 9,5 \ |
| 41 | y=RFbmc y2=LFbmc y3=RFbmd y4=LFbmd leftsub=f rightsub=m stubvert=yes \ |
| 42 | "title= Comparison of four variables, with f & m subcats" "titledet= adjust=0,+0.4" \ |
| 43 | -$DEV -o ${OUTDIR}compare5.$DEV $ARGS |
| 44 | |
| 45 | echo compare6.. |
| 46 | pl -prefab compare data=data28 header=yes catfields=strain \ |
| 47 | "rectangle=1 2 6 5" \ |
| 48 | y=pct_mac y2=pct_mac y3=pct_mac y4=pct_mac \ |
| 49 | "ptselect= @sactime = 0 && @inj = trt" \ |
| 50 | "ptselect2= @sactime = 24 && @inj = trt" \ |
| 51 | "ptselect3= @sactime = 48 && @inj = trt" \ |
| 52 | "ptselect4= @sactime = 72 && @inj = trt" \ |
| 53 | ptselecttags=0,24,48,72 \ |
| 54 | stubvert=yes erroneway=yes \ |
| 55 | -$DEV -o ${OUTDIR}compare6.$DEV $ARGS |