Untitled
unknown
plain_text
2 years ago
291 B
2
Indexable
import matplotlib.pyplot as plt # Data samples = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10] results = [1.833, 1.784, 1.177, 0.668, 0.429, 0.232, 0.149, 1.484, 2.454, 1.947] # Plot plt.plot(samples, results, 'bo-') plt.xlabel('Sample') plt.ylabel('Results') plt.title('Results by Sample') plt.show()
Editor is loading...