#! /bin/bash # # plot G.txt > Gplot.gif # PATH="/bin:/usr/bin"; export PATH printf "set term gif\nset output\nset logscale y\n\ set xlabel 'number of qubits'\nset ylabel '1-probabilty(match)'\n\ set xrange [0:22]\nset xtics 2\n\ set title 'probability of mismatch vs. number of qubits'\nset key right top\nplot\ 'G.txt' using 1:2 with linespoints lc rgb 'red' title 'standard',\ 'G.txt' using 1:3 with linespoints lc rgb 'blue' title 'fractional'\n" | gnuplot > Gplot.gif # caption: standard vs. fractional final rotation