-set ylabel "Latency [{/Symbol m}s]"
-plot [:] [:500] \
- "len2-msgs.txt" using 2:(1000000*$14) with points title "2 byte messages", \
- "len4-msgs.txt" using 2:(1000000*$14) with points title "4 byte messages", \
- "len6-msgs.txt" using 2:(1000000*$14) with points title "6 byte messages", \
- "len8-msgs.txt" using 2:(1000000*$14) with points title "8 byte messages"
+set ylabel "Latency [ms]"
+plot [:] [$range] \
+ "len2-msgs.txt" using (\$2-$min):(1000*\$14) with points title "2 byte messages", \
+ "len4-msgs.txt" using (\$2-$min):(1000*\$14) with points title "4 byte messages", \
+ "len6-msgs.txt" using (\$2-$min):(1000*\$14) with points title "6 byte messages", \
+ "len8-msgs.txt" using (\$2-$min):(1000*\$14) with points title "8 byte messages"