

# https://www.globalsino.com/ICs/
# Pass three lists to plot a function

import matplotlib.pyplot as plt
  
x = [3, 22, 33, 54, 65, 86, 90, 99]
y1 = [9, 20, 41, 33, 21, 34, 52, 63]
y2 = [20, 30, 21, 43, 31, 44, 62, 53]


plt.xlabel('Population')
plt.ylabel('Probability')
plt.title('Histogram', fontsize = 25)
plt.text(60, 18, r'$\mu=100,\ \sigma=15$')
plt.scatter(x, y1, color = "g", linestyle = "dashed", marker = 'o', label = "y1")
plt.scatter(x, y2, color = "r", linestyle = "dashed", marker = 'o', label = "y2")
plt.grid()
plt.legend()
plt.show()
