summaryrefslogtreecommitdiffstats
path: root/experiments/old_stuff/plot.py
diff options
context:
space:
mode:
Diffstat (limited to 'experiments/old_stuff/plot.py')
-rw-r--r--experiments/old_stuff/plot.py21
1 files changed, 0 insertions, 21 deletions
diff --git a/experiments/old_stuff/plot.py b/experiments/old_stuff/plot.py
deleted file mode 100644
index cbea485..0000000
--- a/experiments/old_stuff/plot.py
+++ /dev/null
@@ -1,21 +0,0 @@
-from mpl_toolkits.mplot3d import Axes3D
-from matplotlib import cm
-import matplotlib.pyplot as plt
-import numpy as np
-
-with open("results3.txt") as fh:
- values = [map(float, line.strip().split()) for line in fh]
- #values = [(b, a, l) for (b, a, l) in values if b >= 0.04]
- am = max(values, key=lambda x: x[2])
- print am
- beta, alpha, l = zip(*values)
-
- fig = plt.figure(figsize=(12, 8))
- ax = fig.gca(projection='3d')
-
- ax.plot_trisurf(beta, alpha, l, cmap=cm.jet, linewidth=0.001)
- plt.xlabel("Beta")
- plt.ylabel("Alpha")
- ax.set_zlabel('Likelihood')
- #plt.savefig("ll.pdf")
- plt.show()