PYTHON: creating bar graphs
programme Code:
import matplotlib.pyplot as plt
import numpy as np
x = np.arange(0,9,1)
t = np.arange(0.5,9,1)
y = np.sin(x)
u = np.cos(t)
plt.bar(x,y,0.4,color='green')
plt.bar(t,u,0.4,color='blue')
plt.show()
https://ekaro.in/enkr20210314s1579532
0 Comments