diff options
author | Chris Dyer <cdyer@cs.cmu.edu> | 2010-12-22 08:58:07 -0600 |
---|---|---|
committer | Chris Dyer <cdyer@cs.cmu.edu> | 2010-12-22 08:58:07 -0600 |
commit | b5ca2bd7001a385594af8dc4b9206399c679f8c5 (patch) | |
tree | 332cb09a27f783760532e688e14bde21a128bb2b /report/prune_results/graph.sh | |
parent | 86805dcb8aaaa716fdc73725ad41e411be53f6a6 (diff) |
remove report
Diffstat (limited to 'report/prune_results/graph.sh')
-rwxr-xr-x | report/prune_results/graph.sh | 66 |
1 files changed, 0 insertions, 66 deletions
diff --git a/report/prune_results/graph.sh b/report/prune_results/graph.sh deleted file mode 100755 index 8aa6e228..00000000 --- a/report/prune_results/graph.sh +++ /dev/null @@ -1,66 +0,0 @@ -# see do.sh for usage -d=$(dirname `readlink -f $0`) -. $d/lib.sh - -plboth() { - local o=$1 - local oarg="-landscape" - [ "$portrait" ] && oarg= - shift - set -x - pl -png -o $o.png "$@" -set +x - pl -ps -o $o.ps $oarg "$@" - ps2pdf $o.ps $o.pdf -} - -graph3() { - local y=$1 - local ylbl="$2" - local y2=$3 - local ylbl2="$4" - local y3=$5 - local ylbl3="$6" - local ylbldistance=${7:-'0.7"'} - local name=${name:-$data} - local obase=${obase:-$opre$name.x_`filename_from $xlbl`.$y.`filename_from $ylbl`.$y2.`filename_from $ylbl2`.$y3.`filename_from $ylbl3`} - local of=$obase.png - local ops=$obase.ps - #yrange=0 - local yrange_arg - [ "$ymin" ] && yrange_arg="yrange=$ymin $ymax" - #pointsym=none pointsym2=none - title=${title:-$ylbl $ylbl2 $ylbl3 vs. $xlbl} - xlbl=${xlbl:=x} - showvars_required obase xlbl ylbl ylbl2 ylbl3 - showvars_optional yrange yrange_arg - require_files $data - plboth $obase -prefab lines data=$data x=1 "$yrange_arg" y=$y name="$ylbl" y2=$y2 name2="$ylbl2" y3=$y3 name3="$ylbl3" ylbldistance=$ylbldistance xlbl="$xlbl" title="$title" ystubfmt '%4g' ystubdet="size=6" linedet2="style=1" linedet3="style=3" -scale ${scale:-1.4} - echo $of -} - -pre() { - local pre=$1 - shift - local f - for f in "$@"; do - echo $pre$f - done -} - -main() { - files=( $(pre "$@") ) - data=${data:-compare.$(filename_from $*)} - xlbl=${xlbl:-space} - showvars_required files data xlbl - require_files ${files[*]} - $d/merge-columns.pl ${files[*]} > $data - preview $data - graph3 2 "${n2:-$2}" 3 "${n3:-$3}" 4 "${n4:-$4}" - exit -} - - -if ! [ "$nomain" ] ; then - main "$@";exit -fi |