Сравнение версий Информатика / Архив / 2020 / 9 Б
Добавлено:
%%
import matplotlib.pyplot as plt
import matplotlib.animation as animation
fig, ax = plt.subplots()
N = 100
xx = list(range(0, N + 1))
def animate(i):
yy = [((x * i) ** 0.5) % 7 for x in xx]
ax.clear() # Чистим холст. Можно было бы и по частям править, но
лень
ax.plot(xx, yy, 'o', label='Что-то')
ax.axvspan(1.25, 11.55, facecolor='g', alpha=0.5) #
Зелёная вертикальная линия
ax.set_title('Формала Байеса')
ax.set_xlabel('Номер гипотезы')
ax.set_ylabel('Вероятность гипотезы')
return []
anim = animation.FuncAnimation(fig, animate, list(range(50)),
interval=333)
plt.show()
%%
||**!!NEW!!**
((https://server.179.ru/tasks/python/2022a/pgm42__sql_and_sqlite.html
42. Базы данных и SQL)) |
((http://server.179.ru/cgi-bin/new-client?locale_id=1&contest_id=8
69 Вход для сдачи [869]
))|((https://server.179.ru/shashkov/stand_b22.php?contest=869&pen=
20&marks&ignore=3 Результаты))||
Удалено:
|| **!!NEW!!** ((https://server.179.ru/tasks/python/2022a/pgm42__sql_and_sqlite.html 42. Базы данных и SQL)) | ((http://server.179.ru/cgi-bin/new-client?locale_id=1&contest_id=8 69 Вход для сдачи [869] ))|((https://server.179.ru/shashkov/stand_b22.php?contest=869&pen= 20&marks&ignore=3 Результаты))||