Blame view

utils/plot_results.sh 482 Bytes
1b1e928cc   glaville   initial import of...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
  #!/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