Difference between revisions of "Gnuplot/C2/Introduction-to-Gnuplot/English"

From Script | Spoken-Tutorial
Jump to: navigation, search
 
(13 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
{|border=1
 
{|border=1
 +
|-
 
||'''Visual Cue'''
 
||'''Visual Cue'''
 
||'''Narration'''
 
||'''Narration'''
  
 
|-
 
|-
|| '''Slide Number 1'''  
+
||'''Slide Number 1'''
'''Title Slide '''  
+
'''Title Slide'''
'''Introduction to gnuplot'''  
+
 
|| Welcome to the tutorial on '''Introduction to gnuplot'''
+
'''Introduction to gnuplot'''
 +
|| Welcome to the spoken tutorial on '''Introduction to gnuplot'''.
  
 
|-
 
|-
||'''Slide Number 2'''  
+
|| '''Slide Number 2'''
'''Learning Objectives'''  
+
 
||   In this tutorial, we will  
+
'''Learning Objectives'''
* Download and install gnuplot 5.2.5
+
|| In this tutorial, we will learn to
* Test the installation and  
+
* Download and install '''gnuplot''' 5.2.6
* Test terminal capability  
+
* Test the installation and
 +
* Test the terminal capability
  
 
|-
 
|-
||   '''Slide Number 3
+
|| '''Slide Number 3'''
System and Software Requirement'''  
+
 
||   To record this tutorial, I am using  
+
'''System Requirements'''
* Debian Linux nine point three
+
|| To record this tutorial, I am using
* Gedit text editor 3.22.0
+
* '''Debian Linux''' 9.3
* Firefox Web browser 52.5.0 and
+
* '''gedit text editor''' 3.22
* Working internet to download gnuplot
+
* '''Firefox web browser 52.5''' and  
 +
* Working '''Internet''' connection to download '''gnuplot'''
 +
 
 +
However you can use any '''text editor''' and '''web browser''' of your choice.
  
 
|-
 
|-
||   '''Slide Number 4'''  
+
|| '''Slide Number 4'''
'''Pre-requisites'''  
+
'''Pre-requisites'''
||   To follow this tutorial, learners must be familiar with,
+
|| To follow this tutorial, learners must be familiar with high school mathematics.
* Basic computer and internet skills
+
and
+
* Concept of graph and Mathematics knowledge
+
  
 
|-
 
|-
||   '''Slide Number 5'''  
+
|| '''Slide Number 5'''
'''Download link'''  
+
 
|| Download link for gnuplot is gnuplot dot info  
+
'''Download link'''
The software is available for all operating systems  
+
|| The official download link for '''gnuplot''' is '''gnuplot dot info'''.
 +
 
 +
The '''gnuplot''' software is available for all operating systems.
  
 
|-
 
|-
|| Open web browser
+
||  
|| First, I will use Firefox web browser to download the latest version of gnuplot
+
|| I will use '''Firefox web browser''' to download the latest version of '''gnuplot'''.
  
 
|-
 
|-
|| Press the windows key
+
|| Press Windows key.
|| Press the windows key on keyboard
+
|| Press the '''Windows''' key on the keyboard.
  
 
|-
 
|-
|| Type '''firefox''' and press enter
+
|| Type '''firefox''' >> press '''Enter'''
|| In search form type '''firefox''' and press enter
+
|| In the '''search bar''', type '''firefox''' and press '''Enter'''.
 +
'''Firebox web browser''' opens on the screen.
  
 
|-
 
|-
||
+
|| Type '''gnuplot.info''' >> press '''Enter'''
|| '''Firebox''' web browser opens for me
+
|| In the '''address bar''', type '''gnuplot dot info''' and press '''Enter'''.
 +
 
 +
We are now in the official '''Homepage''' of '''Gnuplot'''.
  
 
|-
 
|-
|| Type '''gnuplot.info''' and press enter
+
|| Scroll the page
|| In address bar, type '''gnuplot dot info''' and press '''enter'''
+
|| I will scroll down the page.
  
 
|-
 
|-
|| Go to '''gnuplot.info'''
+
|| Hover mouse next to current version and release '''5.2.6'''
||   This loads the official web page of '''gnuplot'''  
+
|| The current version of this software is 5.2 and '''release''' is 5.2.6.
I will scroll down
+
 
 +
This was the version number at the time of recording this tutorial.
 +
 
 +
When you practice this tutorial, the current version or '''release''' could be different.
  
 
|-
 
|-
|| Hover mouse next to current version and release 5.2.5
+
|| Hover mouse over Release notes, User manual and demonstration gallery
||   The current '''version''' of software is '''5.2''' and '''release''' is '''5.2.5''' 
+
|| Notice the links for the '''Release Notes''', ''User Manual''' and '''demo gallery'''.
This is the version number at the time of recording this tutorial
+
  
 
|-
 
|-
|| | Hover mouse over Release notes, User manual and demonstration gallery
+
|| Click on link for '''Release 5.2.6'''
|| Notice links for the latest '''Release''' '''notes''', '''user''' '''manual''' and '''demonstration''' '''gallery'''
+
|| Click on the link for '''Release'''.
  
 
|-
 
|-
|| Click on link for '''Release 5.2.5'''
+
|| Cursor on the browser.
||   When you practice this tutorial, the current version or release may be different
+
|| We are redirected to another web page.
Click on the link for current release.  
+
 
 +
Next, let's download the required files.
  
 
|-
 
|-
||  
+
|| Click on the '''Parent folder''' link >> scroll down.
|| Next, let's download the required files.
+
|| Click on the '''Parent folder''' link and scroll down.
  
 
|-
 
|-
|| Click on the '''Parent folder'''
+
|| Point to the different versions.
|| Click on the '''Parent folder''' link and scroll down
+
|| Notice the different versions of the '''gnuplot''' software.
Notice the different versions and upgrades on the software
+
  
 
|-
 
|-
|| Click on '''5.2.5''' link
+
|| Click on '''5.2.6''' link.
|| Click on '''5.2.5''' link
+
|| I will click on the '''5.2.6 link'''.
  
 
|-
 
|-
||  
+
|| Point or highlight
|| The latest version release link is seen in green color
+
|| The latest '''version release link''' is seen in green color.
Scroll down the refreshed page and notice the various downloadable files.
+
  
 
|-
 
|-
|| Hover mouse next to .exe , .html readme files
+
|| Scroll the page
||   Dot exe files are compiled for windows operating system.  
+
|| Scroll down the refreshed page and notice the various downloadable files.
If you are windows user, download the '''dot exe''' files
+
Double click to install them
+
  
 
|-
 
|-
|| Hover mouse next to ‘’’gnuplot-5.2.5.tar.gz’’’ file
+
|| Hover mouse next to .exe , .html readme files
|| We need the '''tar dot gz''' file for compiling program in '''Linux''' system
+
|| '''Dot exe''' files are for '''Windows operating system'''.
  
 
|-
 
|-
|| Click on  '''gnuplot-5.2. 5 .tar.gz'''
+
|| Point and click '''gnuplot-5.2.6.tar.gz''' file
|| Click on '''gnuplot hyphen 5 dot  2 dot  5  dot tar dot gz'''
+
|| If you have a '''Linux''' system, click on '''gnuplot hyphen 5 point 2 point 6 dot tar dot gz'''
  
 
|-
 
|-
||
+
|| Another page
|| Page refreshes, and after a short pause, a '''save''' dialogue box opens
+
|| We are redirected to another page.
  
 
|-
 
|-
||Choose save file, click '''ok'''
+
|| Save dialog box
||Choose '''save''' '''file''' option.  
+
|| After a short pause, the '''Save''' dialog box opens.
Click '''ok''' to download the '''tar, zipped file'''
+
 
 +
In some '''Linux''' versions, the download may begin automatically.
  
 
|-
 
|-
||
+
|| Choose '''Save file''' >> click '''Ok'''
|| Allow file download to complete
+
|| In the '''Save''' dialog box, choose '''Save File''' option.
Let's extract the required files and install '''gnuplot''' using terminal commands
+
 
 +
Then click on the '''Ok''' button at the bottom, to download the '''tar gz file.'''
  
 
|-
 
|-
||
+
|| Point to download arrow.
|| The downloaded file is in my '''Downloads''' folder
+
|| Wait for the download to complete.
 +
 
  
 
|-
 
|-
|| Press '''Ctrl alt t'''
+
||  
|| Open a '''terminal''' by pressing '''Control Alt T''' keys together
+
|| Let's now extract the required files and install '''gnuplot''' using the '''terminal.'''
A '''terminal''' opens
+
|-
+
||  Type '''cd ~/Downloads''' and press '''enter'''
+
|| In terminal prompt, type '''cd space tilda backslash Downloads''' and '''enter'''
+
  
 
|-
 
|-
||'''>tar -xvf gnuplot-5.2.5.tar.gz''' and '''enter'''
+
|| Press '''Ctrl+ Alt + T'''
||  To extract files from the tarball, type the command,
+
|| Let us open a '''terminal''' by pressing '''Control, Alt '''and '''T''' keys together.
'''tar  space hyphen xvf space gnuplot hyphen five dot two dot five dot tar dot gz’’’
+
Press '''enter''' to execute the command
+
  
 
|-
 
|-
|| Hover mouse next to newly created directory '''gnuplot-5.2.5'''
+
|| Point to the file in Downloads folder.
|| A new directory '''gnuplot hyphen 5 dot  2  dot 5''' is created in '''Downloads''' folder
+
|| The downloaded file is in my '''Downloads''' folder.
  
 
|-
 
|-
|| '''Ctrl shift k'''
+
|| Type '''cd Downloads/''' and press '''Enter'''
||   The files are extracted to the new directory
+
|| In the '''terminal prompt''', I will type,
I will clear the screen and bring prompt to top of the '''terminal''' for clarity. 
+
'''cd space Downloads slash''' and press '''Enter'''.
Press '''control shift k '''on keypad
+
  
 
|-
 
|-
|| '''cd gnuplot-5.2.5''' and '''enter'''
+
|| Highlight '''Downloads'''
||   Go to the newly created directory
+
|| In case you have saved the file in a different folder, then type that folder name.
'''cd  space gnuplot hyphen 5 dot  2  dot  5'''  and  '''enter'''
+
  
 
|-
 
|-
||'''sudo apt install -y libwxgtk3.0-dev qtbase5-dev libqt5svg5-dev'''
+
|| '''>tar -xvf gnuplot-5.2.6.tar.gz''' and '''Enter'''
|| For support of interactive qt terminal in Debian, type the 2 following commands.
+
|| To extract files from the '''tar gz '''file, type the following '''command'''.
Please enter sudo password if prompted.
+
 
 +
'''tar space hyphen xvf space gnuplot hyphen 5 dot 2 dot 6 dot tar dot gz'''.
 +
 
 +
 
 +
Then press '''Enter.'''
  
 
|-
 
|-
||''' Clear screen , control+shift+k '''
+
|| Hover mouse next to newly created directory '''gnuplot-5.2.6'''
|| Allow the process to be completed.  
+
|| A new directory '''gnuplot hyphen 5 dot 2 dot 6''' is created in the '''Downloads''' folder.
I will clear the screen for clarity in video.  
+
 
 +
The files are extracted to the new directory.
  
 
|-
 
|-
||'''sudo TERMLIBS="-lX11" ./configure --with-qt=qt5 --with-wx-single-threaded'''
+
|| '''Ctrl Shift K'''
|| Again enter command as seen in the video
+
|| I will clear the '''terminal''' and bring the '''prompt''' back to the top.  
It is also mentioned in the installation sheet.
+
  
 
|-
 
|-
||''' Clear screen, control+shift+k  '''
+
|| '''cd gnuplot-5.2.6/ ''' >> '''Enter'''
|| Allow the process to be completed.
+
|| Now, let’s go to the newly created directory.
I will again clear the screen for clarity in video.
+
  
 +
To do so, type '''cd space gnuplot hyphen 5 dot 2 dot 6 slash''' and press '''Enter'''.
  
 
|-
 
|-
||'''gedit RELEASE_NOTES'''
+
|| '''gedit RELEASE_NOTES'''
|| Type '''gedit space RELEASE underscore NOTES''' and enter
+
|| Now type
 +
'''gedit space RELEASE underscore NOTES '''and press '''Enter'''.
 +
 
 +
I have used '''gedit text editor'''. But you may use any '''text editor''' of your choice.
  
 
|-
 
|-
|| Open file Release notes, scroll down
+
|| Scroll down the file '''Release_notes'''
||   The file opens in a text editor. 
+
|| Let's scroll down to the '''Installation''' section.
Let's scroll down to the installation section  
+
  
 
|-
 
|-
 
|| Hover mouse next to install section
 
|| Hover mouse next to install section
|| Installation has three parts, '''build, test''' and '''install''' as seen from the file.
+
|| Installation has three parts - '''build''', '''test''' and '''install'''.
  
 
|-
 
|-
||  
+
|| Point to the installation part of the code
|| Commands required for installation are mentioned here
+
|| The '''commands''' required for installation are mentioned here.
  
 
|-
 
|-
|| Close gedit, click on 'x' sign
+
|| Close '''gedit''', click on ''''x'''' sign
||   To compile and install we will use terminal commands.
+
|| To compile and install, we will use '''terminal commands'''.  
So, let's close '''gedit'''. Click on the ''''x'''' sign.  
+
 
 +
So, let's close the '''text editor''' now.
  
 
|-
 
|-
 
|| Go to '''terminal'''
 
|| Go to '''terminal'''
|| Go back to the terminal
+
|| Go to the '''terminal'''.
  
 
|-
 
|-
|| Type '''sudo bash ./configure'''
+
|| Press '''Enter''' key.
|| Type, '''sudo space dot backslash configure''' to build 
+
|| From now on-wards, press '''Enter''' key after each '''command '''to execute it.  
'''Press''' enter after each command to execute it.
+
  
 
|-
 
|-
||  
+
|| Type '''sudo ./configure''' >> Press '''Enter'''.
||  If prompted for '''password''', enter '''sudo''' '''password'''.  
+
|| Type '''sudo space dot slash configure'''.
Allow the process to complete
+
Have '''system administrator''' install program, if you do not have permission
+
  
 
|-
 
|-
||  
+
|| If prompted for '''password''', enter '''sudo password'''.
||   Examine the output of script on the screen. 
+
|| If prompted for '''password''', type the '''sudo password'''.
If there are difficulties, have system administrator address them.  
+
  
|-
+
Wait for the process to be completed.
|| '''Ctrl + shift + k'''
+
|| I will also clear the screen for clarity in the video
+
  
 
|-
 
|-
||   Type '''sudo make'''
+
|| Press '''Ctrl + Shift + K''' keys
'''Ctrl + shift + k'''  
+
|| Let me clear the '''terminal'''.
||   Type '''sudo space make'''  
+
From now on, please press '''enter''' to execute command
+
I will not mention it separately.  
+
Press '''control shift k''' on keypad
+
  
 
|-
 
|-
||   Type '''sudo''' '''make check '''and '''enter'''  
+
|| Type '''sudo make''' >> '''Enter'''
||   Type '''sudo''' '''space''' '''make space check '''to test the build
+
|| Next type '''sudo space make'''.
A graphics window appears and disappears. 
+
 
Clear the screen with '''control shift k''' on keypad
+
Let me clear the '''terminal'''.
  
 
|-
 
|-
||Type '''sudo make install''' and '''enter'''
+
|| Type '''sudo make check ''' >> '''Enter'''.
|| Enter command, '''sudo space''' '''make space install''', to install program
+
|| Then type
 +
'''sudo space make space check'''
  
 
|-
 
|-
 
||  
 
||  
|| The program gets installed on the computer.
+
|| A graphics window appears and disappears.
Wait for the installation to complete.
+
Watch messages generated on the screen for error messages.  
+
  
|-
+
And we are back on the '''terminal'''.
||
+
||  If you get any, take required actions or contact the system administrator.
+
I do not get any error messages.  
+
  
 
|-
 
|-
||   Press '''control shift k'''  
+
|| Press '''Ctrl + Shift + K '''keys
Type''' gnuplot'''
+
|| Let me clear the '''terminal'''.
Hover mouse next to '''gnuplot''' prompt
+
||   Next, I will open '''gnuplot''' and check if installation is okay
+
Press '''control shift k''' on keypad
+
Enter command '''gnuplot''' to get '''gnuplot''' prompt
+
  
 
|-
 
|-
||   Hover mouse next to qt 
+
|| Type '''sudo''' '''make install''' and '''enter'''
'''>test'''  
+
|| Now type this '''command'''-
||  This shows terminal type as '''qt'''  
+
'''sudo space make space install'''
Type '''test''' and '''enter'''  
+
  
 
|-
 
|-
 
||  
 
||  
||   This tests, terminal capabilities.
+
|| '''gnuplot '''is now getting installed on the computer.
A graphic '''gnuplot''' '''window''' '''zero''' opens
+
 
 +
Wait for the installation to complete.
  
 
|-
 
|-
|| Hover mouse next to menu bar
+
|| Press '''Ctrl + Shift + K '''keys
|| There is a menu bar on top.
+
|| Let me clear the '''terminal'''.
  
 
|-
 
|-
|| Hover mouse next to square icon
+
|| Type''' gnuplot'''
|| We can export, copy or print from the first square icon
+
Hover mouse next to''' gnuplot prompt'''
 +
Hover mouse next to '''x11'''
 +
|| Type '''gnuplot''' and press '''Enter '''to get the '''gnuplot prompt.'''
 +
 
 +
This shows the '''terminal type''' as '''x11.'''
  
 
|-
 
|-
|| Hover mouse next to replot and grid icon
+
|| Screenshots of Ubuntu Linux and Windows OS
|| The Green circular arrow is for replot. 
+
|| On '''Ubuntu Linux''' and '''Windows''' OS, the '''terminal type''' will be '''qt'''.
Clickable icon to draw grids is seen next to it.  
+
  
 
|-
 
|-
|| Hover mouse next to zoom options
+
|| Type '''test '''>> '''Enter'''
||   Previous zoom options are available too
+
|| Next we will type '''test''' and press '''Enter'''.
Sometimes the menu buttons do not work. 
+
Please do not worry about it.  
+
  
 
|-
 
|-
|| Click on '''settings''' icon
+
|| '''gnuplot window 0''' opens
||   Click open the '''setting''' option.
+
|| A graphic '''gnuplot''' window '''0''' opens on the screen.
It is on the right side.  
+
 
If you change settings via menu they are retained in next session and not reset.  
+
This graphic window allows to view plots and graphs.
  
 
|-
 
|-
|| Click on '''select background color'''.
+
||  
||   Let's change '''background''' '''color''' via menu.
+
|| The '''test command''' shows the capability of the interactive '''terminal''' in '''gnuplot'''.
Click on '''select background color'''.  
+
  
 
|-
 
|-
|| Click to select the yellow color.
+
|| Point to the various color options.
||   A '''select color''' dialogue box opens.
+
|| The various color options available for this '''terminal''' is shown.  
Click to select the yellow color.  
+
  
 
|-
 
|-
||   Click '''ok'''
+
|| Point to the symbol or point styles.
Click '''ok''' again
+
|| The symbol or point styles are also indicated.
||  Click '''ok''' to close the '''color''' '''selection''' box.  
+
Click '''ok''' again for '''terminal''' '''configuration'''.
+
Now background color change to yellow.  
+
  
 
|-
 
|-
||   Change back to white color.
+
|| Point to the line widths and line styles
Click on settings icon and then on select background color.
+
|| Various line widths and line styles possible in this '''terminal''', are also displayed.
||   This change will be retained in subsequent sessions of '''gnuplot'''.
+
So let's change it back to white color.
+
Click on '''settings''' icon and then on '''select''' '''background''' '''color'''.  
+
  
 
|-
 
|-
|| Select white background, click '''ok''' and '''ok'''.
+
|| Point to the bar chart
|| Select white '''background''', click '''ok'''
+
|| The bar chart displays the possible variations in the pattern fill.
Click '''ok''' again to revert the change.
+
  
 
|-
 
|-
||Click on the x sign in the graphic window
+
|| Point to the text and label rotation options
|| Close the graphic window by clicking on the ''''x'''' sign on the top
+
|| Text and label rotation are also possible.
  
 
|-
 
|-
||Type ‘’’q’’’ and enter
+
|| Click on '''x '''sign in graphic window
||Press ‘’’q’’’ to exit gnuplot
+
|| Close the graphic window by clicking on the ''''x'''' icon on the top right.
  
 
|-
 
|-
|| '''Slide Number 6'''  
+
|| Switch back to the terminal >> type '''q'''
'''Summary'''  
+
|| To quit '''gnuplot''', in the '''terminal''' type '''q '''at the '''gnuplot prompt'''.
 +
 
 +
|-
 +
|| Type '''gnuplot ''' >> don’t press '''Enter'''
 +
|| To open '''gnuplot''' again, open the '''terminal''' and type '''gnuplot'''.
 +
 
 +
|-
 +
|| '''Slide Number 6'''
 +
 
 +
'''Summary'''
 
|| Now let's summarize.  
 
|| Now let's summarize.  
 
In this tutorial, we
 
In this tutorial, we
* Downloaded and Installed '''gnuplot''' and
+
* Downloaded and installed '''gnuplot 5.2.6 '''in''' Debian Linux 9.3''' and
*  Tested '''terminal''' capability for the software
+
* Tested the terminal capability of the software.
  
 
|-
 
|-
||   '''Slide Number 7'''  
+
|| '''Slide Number 7'''
'''Assignment'''  
+
'''About the Spoken Tutorial Project'''
|| For assignment activity, please do the following
+
|| This video summarises the '''Spoken Tutorial Project '''
*  Install '''gnuplot''' on your computer and  
+
Please download and watch it.
*  Familiarize with the '''software'''
+
  
 
|-
 
|-
||   '''Slide Number 8'''  
+
|| '''Slide Number 8'''
'''Spoken Tutorial Project'''  
+
'''Spoken Tutorial Workshops'''
||This video summarizes the '''Spoken Tutorial Project '''
+
|| The '''Spoken Tutorial Project''' Team conducts workshops and gives certificates.  
Please download and watch it.  
+
  
|-
 
||  '''Slide Number 9'''
 
'''Spoken Tutorial workshops'''
 
||  The '''Spoken Tutorial Project''' Team
 
* conducts workshops and
 
* gives certificates.
 
 
For more details, please write to us.  
 
For more details, please write to us.  
  
 
|-
 
|-
||   '''Slide Number 10'''  
+
|| '''Slide Number 9'''
'''Forum for specific questions:'''  
+
'''Forum for Specific Questions:'''
|| Please post your timed queries in the forum.
+
|| Do you have questions in THIS Spoken Tutorial?
 +
 
 +
Please visit forums dot spoken hyphen tutorial dot org.
 +
 
 +
Choose the minute and second where you have the question.
 +
 
 +
Explain your question briefly.
 +
 
 +
Someone from our team will answer them.
  
 
|-
 
|-
||   '''Slide Number 11'''  
+
|| '''Slide Number 10'''
'''Acknowledgement'''
+
'''Acknowledgements'''
||   '''Spoken Tutorial Project''' is funded by '''NMEICT, MHRD, Government of India.'''  
+
|| '''Spoken Tutorial Project''' is funded by '''NMEICT, MHRD, Government of India.'''
More information on this mission is available at this link.  
+
More information on this mission is available at this link.
  
 
|-
 
|-
 
||  
 
||  
|| This is Rani from IIT, Bombay. Thank you for joining.
+
|| This is Rani from IIT Bombay.  
 +
Thank you for joining.
 
|-
 
|-
 
|}
 
|}

Latest revision as of 16:51, 2 August 2019

Visual Cue Narration
Slide Number 1

Title Slide

Introduction to gnuplot

Welcome to the spoken tutorial on Introduction to gnuplot.
Slide Number 2

Learning Objectives

In this tutorial, we will learn to
  • Download and install gnuplot 5.2.6
  • Test the installation and
  • Test the terminal capability
Slide Number 3

System Requirements

To record this tutorial, I am using
  • Debian Linux 9.3
  • gedit text editor 3.22
  • Firefox web browser 52.5 and
  • Working Internet connection to download gnuplot

However you can use any text editor and web browser of your choice.

Slide Number 4

Pre-requisites

To follow this tutorial, learners must be familiar with high school mathematics.
Slide Number 5

Download link

The official download link for gnuplot is gnuplot dot info.

The gnuplot software is available for all operating systems.

I will use Firefox web browser to download the latest version of gnuplot.
Press Windows key. Press the Windows key on the keyboard.
Type firefox >> press Enter In the search bar, type firefox and press Enter.

Firebox web browser opens on the screen.

Type gnuplot.info >> press Enter In the address bar, type gnuplot dot info and press Enter.

We are now in the official Homepage of Gnuplot.

Scroll the page I will scroll down the page.
Hover mouse next to current version and release 5.2.6 The current version of this software is 5.2 and release is 5.2.6.

This was the version number at the time of recording this tutorial.

When you practice this tutorial, the current version or release could be different.

Hover mouse over Release notes, User manual and demonstration gallery Notice the links for the Release Notes', User Manual and demo gallery.
Click on link for Release 5.2.6 Click on the link for Release.
Cursor on the browser. We are redirected to another web page.

Next, let's download the required files.

Click on the Parent folder link >> scroll down. Click on the Parent folder link and scroll down.
Point to the different versions. Notice the different versions of the gnuplot software.
Click on 5.2.6 link. I will click on the 5.2.6 link.
Point or highlight The latest version release link is seen in green color.
Scroll the page Scroll down the refreshed page and notice the various downloadable files.
Hover mouse next to .exe , .html readme files Dot exe files are for Windows operating system.
Point and click gnuplot-5.2.6.tar.gz file If you have a Linux system, click on gnuplot hyphen 5 point 2 point 6 dot tar dot gz
Another page We are redirected to another page.
Save dialog box After a short pause, the Save dialog box opens.

In some Linux versions, the download may begin automatically.

Choose Save file >> click Ok In the Save dialog box, choose Save File option.

Then click on the Ok button at the bottom, to download the tar gz file.

Point to download arrow. Wait for the download to complete.


Let's now extract the required files and install gnuplot using the terminal.
Press Ctrl+ Alt + T Let us open a terminal by pressing Control, Alt and T keys together.
Point to the file in Downloads folder. The downloaded file is in my Downloads folder.
Type cd Downloads/ and press Enter In the terminal prompt, I will type,

cd space Downloads slash and press Enter.

Highlight Downloads In case you have saved the file in a different folder, then type that folder name.
>tar -xvf gnuplot-5.2.6.tar.gz and Enter To extract files from the tar gz file, type the following command.

tar space hyphen xvf space gnuplot hyphen 5 dot 2 dot 6 dot tar dot gz.


Then press Enter.

Hover mouse next to newly created directory gnuplot-5.2.6 A new directory gnuplot hyphen 5 dot 2 dot 6 is created in the Downloads folder.

The files are extracted to the new directory.

Ctrl Shift K I will clear the terminal and bring the prompt back to the top.
cd gnuplot-5.2.6/ >> Enter Now, let’s go to the newly created directory.

To do so, type cd space gnuplot hyphen 5 dot 2 dot 6 slash and press Enter.

gedit RELEASE_NOTES Now type

gedit space RELEASE underscore NOTES and press Enter.

I have used gedit text editor. But you may use any text editor of your choice.

Scroll down the file Release_notes Let's scroll down to the Installation section.
Hover mouse next to install section Installation has three parts - build, test and install.
Point to the installation part of the code The commands required for installation are mentioned here.
Close gedit, click on 'x' sign To compile and install, we will use terminal commands.

So, let's close the text editor now.

Go to terminal Go to the terminal.
Press Enter key. From now on-wards, press Enter key after each command to execute it.
Type sudo ./configure >> Press Enter. Type sudo space dot slash configure.
If prompted for password, enter sudo password. If prompted for password, type the sudo password.

Wait for the process to be completed.

Press Ctrl + Shift + K keys Let me clear the terminal.
Type sudo make >> Enter Next type sudo space make.

Let me clear the terminal.

Type sudo make check >> Enter. Then type

sudo space make space check

A graphics window appears and disappears.

And we are back on the terminal.

Press Ctrl + Shift + K keys Let me clear the terminal.
Type sudo make install and enter Now type this command-

sudo space make space install

gnuplot is now getting installed on the computer.

Wait for the installation to complete.

Press Ctrl + Shift + K keys Let me clear the terminal.
Type gnuplot

Hover mouse next to gnuplot prompt Hover mouse next to x11

Type gnuplot and press Enter to get the gnuplot prompt.

This shows the terminal type as x11.

Screenshots of Ubuntu Linux and Windows OS On Ubuntu Linux and Windows OS, the terminal type will be qt.
Type test >> Enter Next we will type test and press Enter.
gnuplot window 0 opens A graphic gnuplot window 0 opens on the screen.

This graphic window allows to view plots and graphs.

The test command shows the capability of the interactive terminal in gnuplot.
Point to the various color options. The various color options available for this terminal is shown.
Point to the symbol or point styles. The symbol or point styles are also indicated.
Point to the line widths and line styles Various line widths and line styles possible in this terminal, are also displayed.
Point to the bar chart The bar chart displays the possible variations in the pattern fill.
Point to the text and label rotation options Text and label rotation are also possible.
Click on x sign in graphic window Close the graphic window by clicking on the 'x' icon on the top right.
Switch back to the terminal >> type q To quit gnuplot, in the terminal type q at the gnuplot prompt.
Type gnuplot >> don’t press Enter To open gnuplot again, open the terminal and type gnuplot.
Slide Number 6

Summary

Now let's summarize.

In this tutorial, we

  • Downloaded and installed gnuplot 5.2.6 in Debian Linux 9.3 and
  • Tested the terminal capability of the software.
Slide Number 7

About the Spoken Tutorial Project

This video summarises the Spoken Tutorial Project

Please download and watch it.

Slide Number 8

Spoken Tutorial Workshops

The Spoken Tutorial Project Team conducts workshops and gives certificates.

For more details, please write to us.

Slide Number 9

Forum for Specific Questions:

Do you have questions in THIS Spoken Tutorial?

Please visit forums dot spoken hyphen tutorial dot org.

Choose the minute and second where you have the question.

Explain your question briefly.

Someone from our team will answer them.

Slide Number 10

Acknowledgements

Spoken Tutorial Project is funded by NMEICT, MHRD, Government of India.

More information on this mission is available at this link.

This is Rani from IIT Bombay.

Thank you for joining.

Contributors and Content Editors

Madhurig, Nancyvarkey, Rani.parvathy, Ranipv076