diff --git a/plots/qhull_vs_delny/plot.py b/plots/qhull_vs_delny/plot.py new file mode 100644 index 0000000..01ec604 --- /dev/null +++ b/plots/qhull_vs_delny/plot.py @@ -0,0 +1,23 @@ +import numpy as np +import matplotlib.pyplot as plt + +bash = np.loadtxt('output.bash.cgd', unpack = True) +py = np.loadtxt('output.python.cgd', unpack = True) + + +plt.figure(1) +ax = plt.subplot(211) +ax.set_title("up") +plt.plot(bash[0], bash[1], 'b--') +plt.ylabel('time (sec)') + +ax = plt.subplot(212) +ax.set_title("down") +plt.plot(py[0], py[1]) + + +plt.xlabel('total points') +plt.ylabel('time (sec)') + + +plt.savefig('asdf.png')