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

From Script | Spoken-Tutorial
Jump to: navigation, search
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'''  
+
'''Introduction to gnuplot'''
|| Welcome to the tutorial on '''Introduction to gnuplot'''
+
|| Welcome to the spoken tutorial on '''Introduction to gnuplot.'''
  
 
|-
 
|-
||'''Slide Number 2'''  
+
|| '''Slide Number 2'''
'''Learning Objectives'''  
+
'''Learning Objectives'''
||   In this tutorial, we will  
+
|| In this tutorial, we will learn to
* Download and install gnuplot 5.2.5
+
* Download and install '''gnuplot''' 5.2.6
* Test the installation and  
+
* Test the installation and
* Test terminal capability  
+
* Test the '''terminal '''capability
  
 
|-
 
|-
||   '''Slide Number 3
+
|| '''Slide Number 3'''
System and Software Requirement'''  
+
'''System and Software Requirement'''
||   To record this tutorial, I am using  
+
|| To record this tutorial, I am using
* Debian Linux nine point three
+
* '''Debian Linux''' 9.3
* Gedit text editor 3.22.0
+
* '''gedit text editor''' 3.22
* Firefox Web browser 52.5.0 and
+
* '''Firefox web browser 52.5''' and  
* Working internet to download gnuplot
+
* 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,
+
* Basic computer and internet skills
+
and
+
* Concept of graph and Mathematics knowledge
+
  
 
|-
 
|-
||   '''Slide Number 5'''  
+
|| '''Slide Number 4'''
'''Download link'''  
+
'''Pre-requisites'''
|| Download link for gnuplot is gnuplot dot info
+
|| To follow this tutorial, learners must be familiar with high school mathematics.
The software is available for all operating systems
+
  
 
|-
 
|-
|| Open web browser
+
|| '''Slide Number 5'''
|| First, I will use Firefox web browser to download the latest version of gnuplot
+
'''Download link'''
 +
|| The official download link for''' gnuplot''' is '''gnuplot dot info.'''
 +
The '''gnuplot '''software is available for all operating systems.
  
 
|-
 
|-
|| Press the windows key
+
||  
|| Press the windows key on keyboard
+
|| I will use '''Firefox web browser''' to download the latest version of '''gnuplot'''.
  
 
|-
 
|-
|| Type '''firefox''' and press enter
+
|| Press Windows key
|| In search form type '''firefox''' and press enter
+
|| Press the '''Windows''' key on the keyboard.
  
 
|-
 
|-
||
+
|| Type '''firefox''' and press '''Enter'''
|| '''Firebox''' web browser opens for me
+
|| In the '''search bar,''' type '''firefox''' and press '''Enter'''.
 +
'''Firebox web browser''' opens on the screen.
  
 
|-
 
|-
|| Type '''gnuplot.info''' and press enter
+
|| type '''gnuplot.info''' and press enter
|| In address bar, type '''gnuplot dot info''' and press '''enter'''
+
|| In the '''address bar''', type '''gnuplot dot info''' and press '''Enter.'''
 +
We are now in the official '''homepage''' of '''gnuplot.'''
  
 
|-
 
|-
|| Go to '''gnuplot.info'''
+
|| Scroll the page
||  This loads the official web page of '''gnuplot'''
+
|| I will scroll down the page.
I will scroll down  
+
  
 
|-
 
|-
|| Hover mouse next to current version and release 5.2.5
+
|| Hover mouse next to current version and release '''5.2.6'''
||   The current '''version''' of software is '''5.2''' and '''release''' is '''5.2.5''' 
+
|| The current '''version''' of this software is 5.2 and '''release''' is 5.2.6
This is the version number at the time of recording this tutorial  
+
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
+
|| Hover mouse over Release notes, User manual and demonstration gallery
|| Notice links for the latest '''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.5'''
+
|| Click on link for '''Release 5.2.6'''
||   When you practice this tutorial, the current version or release may be different
+
|| Click on the link for '''Release'''.
Click on the link for current release.  
+
  
 
|-
 
|-
 
||  
 
||  
|| Next, let's download the required files.
+
|| We are redirected to another web page.
 +
Next, let's download the required files.
  
 
|-
 
|-
|| Click on the '''Parent folder'''
+
|| Click on the '''Parent folder'''
|| Click on the '''Parent folder''' link and scroll down
+
|| Click on the '''Parent folder''' link and scroll down.
Notice the different versions and upgrades on the software
+
  
 
|-
 
|-
|| Click on '''5.2.5''' link
+
|| Point to the different versions
|| Click on '''5.2.5''' link
+
|| Notice the different '''versions''' of the '''gnuplot''' software.
  
 
|-
 
|-
||  
+
|| Click on '''5.2.6''' link
|| The latest version release link is seen in green color
+
|| We’ll click on the '''5.2.6 link.'''
Scroll down the refreshed page and notice the various downloadable files.
+
  
 
|-
 
|-
|| Hover mouse next to .exe , .html readme files
+
|| Point or highlight
||   Dot exe files are compiled for windows operating system.
+
|| The latest '''version release link''' is seen in green color.
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
+
|| Scroll the page
|| We need the '''tar dot gz''' file for compiling program in '''Linux''' system
+
|| Scroll down the refreshed page and notice the various downloadable files.
  
 
|-
 
|-
|| Click on  '''gnuplot-5.2. 5 .tar.gz'''
+
|| Hover mouse next to .exe , .html readme files
|| Click on  '''gnuplot  hyphen  5  dot  2  dot  5  dot  tar  dot  gz'''
+
|| '''Dot exe''' files are for '''Windows operating system.'''
  
 
|-
 
|-
||
+
|| Point and click '''gnuplot-5.2.6.tar.gz''' file
|| Page refreshes, and after a short pause, a '''save''' dialogue box opens
+
|| If you have a '''Linux''' system, click on '''gnuplot hyphen 5 point 2 point 6 dot tar dot gz'''
  
 
|-
 
|-
||Choose save file, click '''ok'''
+
|| Another page
||Choose '''save''' '''file''' option.  
+
|| We are redirected to another page.
Click '''ok''' to download the '''tar, zipped file'''
+
  
 
|-
 
|-
||
+
|| Save dialog box
|| Allow file download to complete
+
|| After a short pause, the '''Save''' dialog box opens.
Let's extract the required files and install '''gnuplot''' using terminal commands
+
In some '''Linux '''versions, the download may begin automatically.
  
 
|-
 
|-
||
+
|| Choose '''Save file''' >> click '''Ok'''
|| The downloaded file is in my '''Downloads''' folder
+
|| In the Save dialog box, choose '''Save''' '''file''' option.
 +
And then click on the '''Ok '''button at the bottom, to download the '''tar gz file.'''
  
 
|-
 
|-
|| Press '''Ctrl alt t'''
+
|| Narration only
|| Open a '''terminal''' by pressing '''Control Alt T''' keys together
+
|| Wait for the download to complete.
A '''terminal''' opens
+
This may take some time depending on your '''internet''' speed.
 +
 
 
|-
 
|-
|| Type '''cd ~/Downloads''' and press '''enter'''
+
|| Narration only
|| In terminal prompt, type '''cd space tilda backslash Downloads''' and '''enter'''
+
|| Let's now extract the required files and install '''gnuplot''' using the '''terminal.'''
  
 
|-
 
|-
||'''>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 the '''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'''
+
|| Narration only
|| 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 backslash Downloads''' 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
 +
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 into 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''' and '''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''' 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 back to the '''terminal.'''
 +
 
 +
|-
 +
||
 +
|| From now onwards, press '''Enter''' key after each '''command '''to execute it.
  
 
|-
 
|-
 
|| Type '''sudo bash ./configure'''
 
|| Type '''sudo bash ./configure'''
|| Type, '''sudo space dot backslash configure''' to build 
+
Press '''Enter'''
'''Press''' enter after each command to execute it. 
+
|| Type '''sudo space dot backslash configure'''
  
 
|-
 
|-
||  
+
|| If prompted for '''password''', enter '''sudo''' '''password'''.
||  If prompted for '''password''', enter '''sudo''' '''password'''.  
+
|| If prompted for '''password''', type the '''sudo''' '''password'''.
Allow the process to complete
+
Wait for the process to be completed.
Have '''system administrator''' install program, if you do not have permission
+
  
 
|-
 
|-
||  
+
|| Press '''Ctrl + Shift + K '''keys
||   Examine the output of script on the screen. 
+
|| Let me clear the '''terminal.'''
If there are difficulties, have system administrator address them.  
+
  
 
|-
 
|-
|| '''Ctrl + shift + k'''
+
|| Type '''sudo''' '''make''' >> '''Enter'''
|| I will also clear the screen for clarity in the video
+
|| Next type '''sudo space make'''
 +
Let me clear the '''terminal.'''
  
 
|-
 
|-
||   Type '''sudo make'''
+
|| Type '''sudo''' '''make check '''and '''enter'''
'''Ctrl + shift + k'''  
+
|| Then type
||   Type '''sudo space make'''  
+
'''sudo''' '''space''' '''make space check'''
From now on, please press '''enter''' to execute command
+
Let me clear the '''terminal.'''
I will not mention it separately.
+
Press '''control shift k''' on keypad
+
  
 
|-
 
|-
||   Type '''sudo''' '''make check '''and '''enter'''
+
||  
||   Type '''sudo''' '''space''' '''make space check '''to test the build
+
|| A graphics window appears and disappears
A graphics window appears and disappears
+
And we are back on the '''terminal'''.
Clear the screen with '''control shift k''' on keypad
+
  
 
|-
 
|-
||Type '''sudo make install''' and '''enter'''
+
|| Press '''Ctrl + Shift + K '''keys
|| Enter command, '''sudo space''' '''make space install''', to install program
+
|| Once again, let me clear the '''terminal'''.
  
 
|-
 
|-
||  
+
|| Type '''sudo''' '''make install''' and '''enter'''
|| The program gets installed on the computer.
+
|| Now type this '''command'''
Wait for the installation to complete.
+
'''sudo space''' '''make space install'''
Watch messages generated on the screen for error messages.
+
  
 
|-
 
|-
 
||  
 
||  
||   If you get any, take required actions or contact the system administrator.  
+
|| '''gnuplot '''is now getting installed on the computer.
I do not get any error messages.  
+
Wait for the installation to complete.
  
 
|-
 
|-
||   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''' gnuplot'''
'''>test'''  
+
Hover mouse next to''' gnuplot prompt'''
||   This shows terminal type as '''qt'''  
+
Hover mouse next to '''x11'''
Type '''test''' and '''enter'''  
+
|| Type '''gnuplot''' and press '''Enter '''to get the '''gnuplot prompt.'''
 +
This shows the '''terminal type''' as '''x11.'''
  
 
|-
 
|-
||  
+
|| Screenshots of Ubuntu Linux and Windows OS
||   This tests, terminal capabilities.
+
|| On '''Ubuntu Linux''' and '''Windows''' OS, the '''terminal type''' will be '''qt'''.
A graphic '''gnuplot''' '''window''' '''zero''' opens
+
  
 
|-
 
|-
|| Hover mouse next to menu bar
+
|| Type '''test '''>> '''Enter'''
|| There is a menu bar on top.
+
|| Next we will type '''test''' and press '''Enter.'''
  
 
|-
 
|-
|| Hover mouse next to square icon
+
|| '''gnuplot''' '''window''' '''0''' opens
|| We can export, copy or print from the first square icon
+
|| A graphic '''gnuplot''' '''window''' '''0''' opens on the screen.
 +
This graphic window allows to view plots and graphs.
  
 
|-
 
|-
|| Hover mouse next to replot and grid icon
+
||  
|| The Green circular arrow is for replot. 
+
|| The '''test command''' shows the capability of the interactive '''terminal''' in '''gnuplot'''.
Clickable icon to draw grids is seen next to it.  
+
  
 
|-
 
|-
|| Hover mouse next to zoom options
+
|| Point to the various color options.
||   Previous zoom options are available too
+
|| The various color options available for this '''terminal''' is shown.  
Sometimes the menu buttons do not work. 
+
Please do not worry about it.  
+
  
 
|-
 
|-
|| Click on '''settings''' icon
+
|| Point to the symbol or point styles.
||   Click open the '''setting''' option.
+
|| The symbol or point styles are also indicated.
It is on the right side.
+
If you change settings via menu they are retained in next session and not reset.  
+
  
 
|-
 
|-
|| Click on '''select background color'''.
+
|| Point to the line widths and line styles
||   Let's change '''background''' '''color''' via menu.
+
|| Various line widths and line styles possible in this '''terminal,''' are also displayed.
Click on '''select background color'''.  
+
  
 
|-
 
|-
|| Click to select the yellow color.
+
|| Point to the bar chart
||   A '''select color''' dialogue box opens.
+
|| The bar chart displays the possible variations in the pattern fill.
Click to select the yellow color.  
+
  
 
|-
 
|-
||   Click '''ok'''
+
|| Point to the text and label rotation options
Click '''ok''' again
+
|| Text and label rotation, are also possible.
||   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.
+
|| Click on '''x '''sign in graphic window
Click on settings icon and then on select background color.
+
|| Close the graphic window by clicking on the ''''x'''' icon at the top right.
||  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'''.
+
|| Switch back to the terminal >>type '''q'''
|| Select white '''background''', click '''ok'''
+
|| To quit '''gnuplot''', in the '''terminal''' type '''q '''at the '''gnuplot prompt.'''
Click '''ok''' again to revert the change.
+
  
 
|-
 
|-
||Click on the x sign in the graphic window
+
|| Type '''gnuplot '''>> don’t press '''Enter'''
|| Close the graphic window by clicking on the ''''x'''' sign on the top
+
|| To open '''gnuplot''' again, open the '''terminal''' and type '''gnuplot'''.
  
 
|-
 
|-
||Type ‘’’q’’’ and enter
+
|| '''Slide Number 6'''
||Press ‘’’q’’’ to exit gnuplot
+
'''Summary'''
 
+
|-
+
|| '''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 '''in''' Debian Linux 9.3''' and
*  Tested '''terminal''' capability for the software
+
* Tested the '''terminal '''capability of the '''software'''
 
+
|-
+
||  '''Slide Number 7'''
+
'''Assignment'''
+
||  For assignment activity, please do the following
+
*  Install '''gnuplot''' on your computer and
+
*  Familiarize with the '''software'''  
+
  
 
|-
 
|-
||   '''Slide Number 8'''  
+
|| '''Slide Number 7'''
'''Spoken Tutorial Project'''  
+
'''Spoken Tutorial Project'''
||This video summarizes the '''Spoken Tutorial Project '''
+
|| This video summarises the '''Spoken Tutorial Project '''
Please download and watch it.  
+
Please download and watch it.
  
 
|-
 
|-
||   '''Slide Number 9'''  
+
|| '''Slide Number 8'''
'''Spoken Tutorial workshops'''  
+
'''Spoken Tutorial workshops'''
|| The '''Spoken Tutorial Project''' Team  
+
|| The '''Spoken Tutorial Project''' Team  
* conducts workshops and  
+
* conducts workshops''' '''and  
 
* gives certificates.  
 
* 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'''
 
'''Acknowledgement'''
||   '''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.
 
|-
 
|-
 
|}
 
|}

Revision as of 17:44, 14 May 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 and Software Requirement

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 and press Enter In the search bar, type firefox and press Enter.

Firebox web browser opens on the screen.

type gnuplot.info and 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.
We are redirected to another web page.

Next, let's download the required files.

Click on the Parent folder 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 We’ll 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.

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

Narration only Wait for the download to complete.

This may take some time depending on your internet speed.

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

cd space backslash Downloads 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 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 into the new directory.

Ctrl shift k I will clear the terminal and bring the prompt back to the top.
cd gnuplot-5.2.6 and enter Now, let’s go to the newly created directory.

To do so, type cd space gnuplot hyphen 5 dot 2 dot 6 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 back to the terminal.
From now onwards, press Enter key after each command to execute it.
Type sudo bash ./configure

Press Enter

Type sudo space dot backslash 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 and enter Then type

sudo space make space check Let me clear the terminal.

A graphics window appears and disappears

And we are back on the terminal.

Press Ctrl + Shift + K keys Once again, 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 at 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 in Debian Linux 9.3 and
  • Tested the terminal capability of the software
Slide Number 7

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

Acknowledgement

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