3 set ylabel "Cycles per Operation"
4 set xlabel "Operand size (bits)"
6 set output "addsub.png"
7 plot 'add.log' smooth bezier title "Addition", 'sub.log' smooth bezier title "Subtraction"
10 plot 'sqr.log' smooth bezier title "Squaring (without Karatsuba)", 'sqr_kara.log' smooth bezier title "Squaring (Karatsuba)", 'mult.log' smooth bezier title "Multiplication (without Karatsuba)", 'mult_kara.log' smooth bezier title "Multiplication (Karatsuba)"
13 plot 'expt.log' smooth bezier title "Exptmod (Montgomery)", 'expt_dr.log' smooth bezier title "Exptmod (Dimminished Radix)", 'expt_2k.log' smooth bezier title "Exptmod (2k Reduction)"
15 set output "invmod.png"
16 plot 'invmod.log' smooth bezier title "Modular Inverse"