set output '| ps2pdf -dEPSCrop - data/freshness.pdf' set terminal postscript color eps enhanced "NimbusSanL-Regu" 24 set pointsize 1.5 set rmargin 3 set lmargin 10 set nokey set xlabel "Max freshness requirement in seconds" set ylabel "Peak requests/sec" set yrange [0:4000] dbpeak = `awk '{print $6}' < data/mediumdb-stock | sort -nr | head -n1` plot [x = 0:*] \ "data/mediumdb-txcache-freshness-peaks" \ title "TxCache" with linespoints lt 1 pt 7 lc 3 lw 3, \ dbpeak title "No caching (baseline)" \ with line lt 2 lc 1 lw 3