]> git.friedersdorff.com Git - max/plotting_with_matplotlib.git/blob - time_series.py
feat: Add final content
[max/plotting_with_matplotlib.git] / time_series.py
1 import matplotlib.pyplot as plt
2 from numpy import random as ran
3
4 t = range(50)
5 y = (ran.rand(50)*50) + 2000 # I don't have real data
6 plt.plot(t, y)
7 plt.title('Some time series with left title', loc='left')
8 plt.ylabel('Mass of test mass over time')
9 plt.show()