Commits

Takayuki KONDO committed 96be410

py: plot sample

Comments (0)

Files changed (1)

+#!/usr/bin/env python
+
+from array import array
+import matplotlib.pyplot as plt
+
+x = array('d', [0.07218849, 1.61854596, 2.74441742, 3.36337206,
+                4.96067527,
+                5.13515737, 6.43154354, 7.68320999, 8.3692042,
+                9.85696038])
+
+y = array('d', [1.47822651, 11.57308266, 23.53791146, 36.71027063,
+                40.60451491, 58.41530339, 64.22937428, 79.51190066,
+                91.04207353, 97.7546571])
+
+plt.plot(x, y, 'o')
+plt.show()