plot_results.sh 482 Bytes
#!/bin/bash

if [ $# -ne 1 -o ! -d "$1" ]; then
    echo "Usage: $0 <results directory>"
    exit 1
fi

RESULTS="$1"
PLOT_DIR="$(pwd)/"

cd $RESULTS
echo "Plotting performances for $RESULTS"
gnuplot $PLOT_DIR/mior_perfs_fr.plt

#for model in cpu gpu2 gpu3 gpu4 gpu5; do
#    for scale in $(seq 1 30); do
#	    input="data_${model}_${scale}.txt"
#	    echo "Plotting results for $input"
#	    gnuplot -e "call \"$PLOT_DIR/mior.plt\" \"$input\" \"${model}_${scale}\""
#    done
#done