set logscale x set logscale y set ylabel 'normalized cost for theory and time for experiment' set xlabel 'N tuples' plot 'N.dat' using 1:($3) with lines title 'experiment', 'N.dat' using 1:($2/(191)) with lines title 'theory'