graphs.dem revision 1.1.1.1
1set terminal png 2set size 1.75 3set ylabel "Cycles per Operation" 4set xlabel "Operand size (bits)" 5 6set output "addsub.png" 7plot 'add.log' smooth bezier title "Addition", 'sub.log' smooth bezier title "Subtraction" 8 9set output "mult.png" 10plot '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)" 11 12set output "expt.png" 13plot '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 15set output "invmod.png" 16plot 'invmod.log' smooth bezier title "Modular Inverse" 17 18