Matplotlib import pyplot as plt


Download 13.61 Kb.
Sana11.01.2023
Hajmi13.61 Kb.
#1088292
Bog'liq
animatsiya v python


from matplotlib import pyplot as plt
  
x = []
y = []
  
for i in range(100):
x.append(i)
y.append(i)
  
# Mention x and y limits to define their range
plt.xlim(0, 100)
plt.ylim(0, 100)
 
# Ploting graph
plt.plot(x, y, color = 'green')
plt.pause(0.01)
  
plt.show()
Download 13.61 Kb.

Do'stlaringiz bilan baham:




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling