From bcbb8ad4bba6c27fbe2c829a278233de13141be2 Mon Sep 17 00:00:00 2001 From: LykovaYA Date: Fri, 24 Oct 2025 09:31:35 +0000 Subject: [PATCH] =?UTF-8?q?=D0=98=D0=B7=D0=BC=D0=B5=D0=BD=D0=B8=D0=BB(?= =?UTF-8?q?=D0=B0)=20=D0=BD=D0=B0=20'TEMA4/report.md'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- TEMA4/report.md | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/TEMA4/report.md b/TEMA4/report.md index 6e045bc..6856631 100644 --- a/TEMA4/report.md +++ b/TEMA4/report.md @@ -480,7 +480,11 @@ Text(0.5, 0, 'время') pylab.ylabel('сигнал') Text(0, 0.5, 'сигнал') pylab.show() +``` + ![Ris1](ris1.png) + +```py X1=[12,6,8,10,7] X2=[5,7,9,11,13] pylab.plot(X1) @@ -488,26 +492,40 @@ pylab.plot(X1) pylab.plot(X2) [] pylab.show() +``` + ![Ris2](ris2.png) + +```py region=['Центр','Урал','Сибирь','Юг'] naselen=[65,12,23,17] pylab.pie(naselen,labels=region) ([, , , ], [Text(-0.191013134139045, 1.0832885038559115, 'Центр'), Text(-0.861328292412156, -0.6841882582231001, 'Урал'), Text(0.04429273995539947, -1.0991078896938387, 'Сибирь'), Text(0.9873750693480946, -0.48486129194837324, 'Юг')]) pylab.show() +``` + ![Ris3](ris3.png) + +```py data = [1, 2, 2, 3, 3, 3, 4, 4, 5] pylab.hist(data,5) (array([1., 2., 3., 2., 1.]), array([1. , 1.8, 2.6, 3.4, 4.2, 5. ]), ) pylab.show() +``` + ![Ris4](ris4.png) + +```py c = ['A', 'B', 'C'] v = [10, 25, 15] pylab.bar(c, v) pylab.show() -![Ris5](ris5.png) ``` +![Ris5](ris5.png) + + ## 8. Модуль statistics. ```py