**Using Gnuplot software in information technology lessons at the secondary schools ** *O.E.Shomuradov*^{1}* Y.SH.Turaev*^{2} **1** Physics and Information technology teacher of Secondary school of Khorezm region, Pitnak district 10^{th}* secondary school ***2 ** Junior researcher of Ulugh Beg Astronomical institute E-mail: __t.sh.yunus@gmail.com__ , o__tajon6765@mail.ru__ **Abstract.** In this article analyzed about of using open source software: GNUPLOT , easily working in the different operation systems. We offered this program using in the information technology lessons at the secondary schools in Uzbekistan, and we showed some examples worked in gnuplot. **1 Introduction.** In Uzbekistan, computer science classes are taught in secondary schools starting from 6th grade. Textbooks and manuals were designed accordingly, but they are not enough to teach computer science and information technology in today's rapidly developing world. Because, our textbooks are more focused on theoretical aspects, for this reason our high school graduates are not getting enough practical knowledge. But, we can solve this problem by two ways: first, teaching to pupils more practical during the information technology lessons, second - by organizing extra practical classes, in addition to the school lessons, because a high school graduate have to know using a different of programs. In the follow, we provide information about Gnuplot that are easy to use in practice, also some examples how to worked with it. **2. About gnuplot, working with gnuplot, and some examples.** Gnuplot software is created by Thomas Williams and Colin Kelley during the 1986-1993 years. Other version of gnuplot developped by other authors, version 5.2 organized by: Ethan A Merritt and many others [1] Gnuplot can work in Windows, Linux and many other operation systems [1]. In the follow we showed some examples, worked with gnuplot. [2] **Example – 1 ** *y = sin(x) ploted red colour, with linespoints, and linetype – 7 ; y = cos(x/2) ploted green colour, with lines and linetype – 3 . ***# Example function plot in gnuplot** *set title «*BU GNUPLOT DASTURIDA CHIZILGAN GRAFIK*» set xlabel «bu x oʻqi» set ylabel «bu y oʻqi» plot sin(x) title «sin(x) grafigi» with lp lt 7, cos(x/2) title «cos(x/2)» with l lt 3 # lt – linestype {1,2,3,4,5,6,7} # lp - linespoints # then you can save this type image* **Example – 2 ** *y = x+3 , y = tgx , y = sin2x , y = x*^{2}* – functions plot in one window* **# ****Multiplot in gnuplot ** set multiplot *set size 0.5,0.5* *set origin 0,0* *plot sin(2*x)* *set origin 0.5,0* *plot x**2 with lp (lp-linespoints)* *set origin 0.5,0.5* *plot tan(x) (tan(x) - tgx)* *set origin 0,0.5* *plot x+3* **---------------------------------------------------** *# then you can save this image as «.png» , * *«.pdf» ...* **--------------------------------------------------- Example – 3 ** *Plotting scientific data with errorbars in gnuplot * **#** **Plotting data type informations from file ** # first we need to login to folder where *located our file (for example data.txt)* *# ps – pointsize [1,2,3,4,5,6,7]* *# pt – point type [1,2,3,4,5,6,7]* *set title «Bu data.txt malumotlari»* *set xlabel «Vaqt [s]»* *set ylabel «Qandaydir kattalik»* *plot [0:28] [0:20] «data.txt» with * *yerrorbars ps 1 pt 7* *---------------------------------------------------* *# then you can save image as «.png» ...* **Example – 4 ** *Plotting 3D surfaces in gnuplot** * **#** **3D surface plotting in gnuplot** # here given sinx * cosy functions graphic set pm3d set xlabel «X» set ylabel «Y» set zalbel «Z» set xrange [-5:5] set yrange [-7:7] set title «Bu sinx*cosy grafigi» splot sin(x)*cos(y) ---------------------------------------------------- You can get more information from: __http://gnuplot.sourceforge.net/demo_5.5/__ official internet site of gnuplot. There given a lot of different demonstration for plotting data, function, surfaces and many others. **3. Analyzing and discussion.** We have shown a few examples of how to work with Gnuplot. Gnuplot is of the most popular applications, which is very simple and easy to graphically represent scientific data. This program is free and easily work on any operating system, also open source software. For this reason, we need to include them into our information technology lesson at the secondary schools. At what stage should we present this program to our students, and why? Answer is easy: we can include this program in the 10th or 11th class information technology lessons, because, they are usually, can’t to begin their academic work immediately after admission to institutions and universities, they are don’t to work with programs, along with other reasons. If we teach use the gnuplot program, and to draw different graphics, animations, different data, etc, we can help them with that. **Conclusion. **In summary, we Gnuplot should be taught to our students in the secondary education system, In addition, the authors believe that this course is pedagogically desirable for students in grades 10-11 in the secondary education system. **References ** [1] Thomas Williams & Colin Kelley - « Gnuplot - An Interactive Plotting Program » Dick Crawford, October 2018 [2] __http://gnuplot.info/__ - official site of gnuplot [3] __http://gnuplot.sourceforge.net/demo_5.5/__ - demonstrate of different type of plotting, official site.
**Do'stlaringiz bilan baham:** |