Gnuplot/C2/Introduction-to-Gnuplot/English
From Script | Spoken-Tutorial
[Title of script: Introduction to gnuplot
Author: Rani Parvathy
Keywords: gnuplot, video tutorial, spoken tutorial, software installation, set term, check installation, build, compile, download files, extract files from the tar ball
Visual Cue | Narration |
---|---|
Slide Number 1
Title Slide Introduction to gnuplot
|
Welcome to the tutorial on Introduction to Gnuplot |
Slide Number 2
Learning Objectives
|
In this tutorial, we will
|
Slide Number 3
System and Software Requirement
|
To record this tutorial, I am using
Debian Linux
Gedit 3.22.0
Firefox Web browser 52.5.0
|
Slide Number 4
Samson Microphone
|
To record audio, Samsung portable USB mic was used.
The model number is SAGOMIC
I bought it for about rupees four
thousand from Amazon website.
It may be available in other websites.
|
Slide Number 5
Pre-requisites
|
To follow this tutorial, learner's must be familiar with,
Basic computer and internet skills
Working internet to download gnuplot
and
Concept of graph, Mathematics knowledge
|
Slide Number 6
Pre-requisites
|
Please locate this tutorial on our web page,
spoken hyphen tutorial dot org.
Prerequisite spoken tutorials, if any, will be mentioned in this page
|
Slide Number 7
Download link
|
Download link for gnuplot is gnuplot dot info
The software is available for all operating systems
|
Open web browser | First, I will use Firefox web browser to download the latest version of gnuplot |
Click on Search your computer and online resources icon | Press the windows key on keyboard |
Type firefox and press enter | In search form type firefox and press enter |
Firebox web browser opens for me | |
type gnuplot.info and press enter | In address bar, type gnuplot dot info and press enter |
Go to gnuplot.info | This loads the official web page of gnuplot
I will scroll down
|
Hover mouse next to current version and release 5.2.5 | The current version of software is 5.2 and release is 5.2.5
This is the version number at the time of recording this tutorial
|
Hover mouse over Release notes, User manual and demonstration gallery | Notice links for the latest Release notes, user manual and demonstration gallery |
Click on link for Release 5.2.5 | When you practice this tutorial, the current version or release may be different
Click on the link for current release.
|
Next, let's download the required files. | |
Click on the Parent folder | Click on the Parent folder link and scroll down |
Notice the different versions and upgrades on the software | |
Click on 5.2.5 link | Click on 5.2.5 link |
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 | .exe files are compiled for windows operating system.
If you are windows user, download the dot exe
Double click to install the dot exe
|
Hover mouse next to gnuplot-5.2.4.tar.gz file | We need the tar dot gz file for compiling program in Linux system |
Click on gnuplot-5.2.5.tar.gz | Click on gnuplot hypthen 5 dot 2 dot 5 dot tar dot gz |
Page refreshes, and after a short pause, a save dialogue box appear | |
Choose save file, click ok | Choose save file option and click ok to download the tar, zipped file |
Allow file download to complete | |
Let's extract required files and install gnuplot using terminal commands | |
The downloaded file is in my Downloads folder | |
Open a terminal by pressing Control Alt T keys together | |
A terminal opens | |
Type ~/Download and press enter | In terminal prompt, type cd tilda backslash Download and enter |
>tar -xvf gnuplot-5.2.5.tar.gz and enter | To extract files from the tarball, type the command,
Press enter to execute the command
|
Hover mouse next to newly created directory gnuplot-5.2.5 | A new directory gnuplot hypthen 5 dot 2 dot 5 is created in Downloads folder |
Ctrl + L | The files are extracted to the new directory
I will clear the screen and bring prompt to top of the terminal for clarity.
Press control L on keyboard
|
cd gnuplot-5.2.5 and enter | Go to the newly created directory
|
>gedit RELEASE_NOTES | Type gedit RELEASE underscrore NOTES and enter |
Open file Release notes, scroll down | The file opens in a text editor.
Let's scroll down to the installation section
|
Hover mouse next to | Installation has three parts, build, test and install as seen from the file. |
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 gedit. Click on the 'x' sign.
|
Go back to the terminal | |
Type sudo bash ./configure | Type, sudo space dot backslah configure to build
Please press enter after each command to execute it.
|
If prompted for password enter sudo password.
Allow the process to complete
Have system administrator install program, if you do not have permission
| |
Examine the output of script on screen.
If there are difficulties, address them
| |
Ctrl + L | I will also clear the screen for clarity in video with control L command |
Type make and enter | Type sudo space make and enter
From now on, please press enter to execute command
I will not mention it separately.
|
Type sudo make check and enter
Press enter at prompt
|
Type sudo make check to test the build
A graphics window appear and disappear.
When prompted press enter to continue at terminal
Press control l on keyboard
|
Type sudo make install and enter | Enter the command, sudo make install to install program |
The program gets installed on computer. | |
Wait for the installation to complete.
Watch the messages generated on the screen for error messages.
| |
I do not get any error messages.
If you get any, take required actions or contact the system administrator.
| |
>gnuplot
hover mouse next to gnuplot prompt
|
Next, I will open gnuplot and check if installation is okay
Enter command gnuplot to get gnuplot prompt
|
Hover mouse next to qt
>test
|
This shows terminal type as qt
Type test and enter
|
This tests, terminal capabilities.
A graphic gnuplot window 0 opens
| |
Hover mouse next to menu bar | There is a menu bar on top. |
Template:Anchor Hover mouse next to square icon | We can export, copy or print from the first square icon |
Hover mouse next to replot and grid icon | The Green circular arrow is for replot.
Clickable icon to draw grids is seen next to it.
|
Hover mouse next to zoom options | Memory options for zoom are available too
Sometimes the menu buttons do not work. Do not worry about it.
|
Hover mouse next to setting icon | Click open the setting option.
It is on the right end.
If you change settings via menu they are retained in next session and not reset.
|
Click on settings icon and then on select background color. | Let's change background color via menu.
Click on settings icon and then on select background color.
|
Click to select the yellow color. | A select color dialogue box opens.
Click to select the yellow color.
|
Click ok
Click ok
|
Click ok to close the color selection box.
ok again for terminal configuration.
Now background color change to yellow.
|
Change back to white color.
Click on settings icon and then on select background color.
|
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. | Select white background, click ok and ok again to revert the change. |
Click on x sign in graphic window | Close the graphic window by clicking on the 'x' sign on top left corner |
Slide Number 8
Summary
|
Now let's summarize.
|
Slide Number 9
Assignment
|
For assignment activity, please do the following
|
Slide Number 10
Spoken Tutorial Project
|
This video summarises the Spoken Tutorial Project
If you do not have good bandwidth, you may download and watch it.
|
Slide Number 11
Spoken Tutorial workshops
|
The Spoken Tutorial Project Team * conducts workshops using spoken tutorials and
For more details, please write to us. |
Slide Number 12
Forum for specific questions:
|
Post your timed queries in the forum. |
Slide Number 13
Acknowledgement
|
Spoken Tutorial Project is funded by NMEICT, MHRD, Government of India.
|
This is Rani from IIT, Bombay. Thank you for joining. |