import matplotlib.pyplot as plt
fig = plt.figure()
# нанесения маркера в точке
plt.scatter(10.0, 10.0)
X = list(range(10))
Y = list(range(10))
for n in range(10):
X[n] = n
Y[n] = n*n
plt.plot(X, Y, color='red')
for n in range(10):
X[n] = n
Y[n] = n
plt.plot(X, Y, color='green')
plt.grid(True)
#save(name='pic_1_4_1', fmt='pdf')
#save(name='pic_1_4_1', fmt='png')
plt.show()
Справочник алгоритмов v0.05 © 2007-2025 Igor Salnikov aka SunDoctor