#!/bin/bash tool=`dirname $0`/ptraccel-debug gnuplot=/usr/bin/gnuplot outfile="ptraccel-linear" for speed in -1 -0.75 -0.5 -0.25 0 0.5 1; do $tool --mode=accel --dpi=1000 --filter=linear --speed=$speed > $outfile-$speed.gnuplot done $gnuplot < $outfile-$dpi.gnuplot done $gnuplot < $outfile-mouse.gnuplot $tool --mode=accel --dpi=1000 --filter=touchpad > $outfile-touchpad.gnuplot $gnuplot < $outfile-mouse.gnuplot for constaccel in 1 2 3; do dpi=$((1000/$constaccel)) $tool --mode=accel --dpi=$dpi --filter=trackpoint > $outfile-trackpoint-$constaccel.gnuplot done $gnuplot <