2 set ylabel "Cycles per Operation"
3 set xlabel "Operand size (bits)"
5 set output "addsub.png"
6 plot 'add.log' smooth bezier title "Addition", 'sub.log' smooth bezier title "Subtraction"
9 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)"
12 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)"
14 set output "invmod.png"
15 plot 'invmod.log' smooth bezier title "Modular Inverse"