Gnuplot/C2/Overview-of-Gnuplot/English

From Script | Spoken-Tutorial
Revision as of 15:30, 9 October 2020 by Snehalathak (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Visual Cue Narration
Slide Number 1

Title Slide

Welcome to the tutorial on Overview of gnuplot.
Slide Number 2 & 3

Learning Objectives

In this tutorial, we will learn about,
  • The gnuplot website
  • Important features and capabilities of gnuplot
  • Benefits of gnuplot and
  • User forum
  • We will also play excerpts of gnuplot tutorials available on this site.
Slide Number 4

System and Software Requirement

To record this tutorial, I am using
  • Ubuntu Linux v16.04 OS
  • Firefox web browser v75 and
  • A working Internet connection
Slide Number 5

Pre-requisites

To follow this tutorial,
  • Learner must be familiar with basic computer and Internet skills.
Slide Number 6

About Gnuplot

Gnuplot is,
  • A command-line driven plotting program in C language.
  • It has several plotting abilities and has a learning curve.
  • Can generate graphs interactively and save the output
Slide Number 7

Download link http://www.gnuplot.info

  • Download link for gnuplot is shown here.
  • It is a cross platform software
  • Available for Windows, Linux and Mac OS
  • It is a copyrighted software and available free of cost.
Open web browser. Open the web browser of your choice.
Go to gnuplot.info Go to the web address, gnuplot.info.

This is the official site of gnuplot.

Hover mouse on left and right to show the plots. The plots on the homepage represent few of gnuplot’s capabilities.

Gnuplot has a large database of resources and example tutorials.

Click on Books link.

Scroll down.

Click on the Books link and scroll down the new page.

The popularity of gnuplot can be gauged from the several books available.

Go back to gnuplot home page. Go back to the home page.
Click on the External Links section. Click on the External Links section.
Hover mouse over programming interfaces list The page loads.

Notice the many programming interfaces available for gnuplot.

Hover mouse over Octave link. Many popular scientific programs also incorporate gnuplot in them.
Go to http://www.gnuplot.info . Let’s go back to gnuplot home page.
Scroll down. Click on the Gallery of demos link. Let’s scroll down.

Click on the Gallery of demos link.

Hover the cursor on the demo page. This page has several types of example scripts.

Every link has scripts which generate graphs in various styles.

Cursor on 2D, 3D and axis transformation. Notice the 2D and 3D plotting along with axis transformation ability.
Cursor on curve fitting, annotation and applications. Examples for curve fitting, annotation and applications are also available.
Cursor on the web page. Users may also use these links for learning purpose.

Learner may use this page for choosing styles and learn the various options.

Go to gnuplot web page. Go back to the gnuplot home page.
Click on the Documentation link.

Hover cursor next to Documentation.

Click on the Documentation link.

Notice that, detailed documentation is also available.

Documentation is available in several languages.

Slide Number 8

User Forum

Currently, Stackoverflow and Sourceforge have an active gnuplot user forum.
Go to, https://sourceforge.net/p/gnuplot/discussion/ Go to the Sourceforge web page on gnuplot.
Cursor on Help and Discussion link on left frame. Notice the two sections on Help and Discussions.
Cursor on the Join link. Learner must create a free account and sign in to ask questions.
Go to https://stackoverflow.com/ Now, let’s visit the stackoverflow website as seen here.
Type gnuplot in the search form and press Enter. Type gnuplot in the search form on the top and press Enter.
Cursor on the refreshed page. Notice the questions users have asked in the forum.
Cursor on signup and login. Here too, learner must sign up and log in to ask questions in the forum.

They are seen on the top right side of the page.

Slide Number 9

Benefits of gnuplot

There are several benefits of using gnuplot. It is,
  • Widely used by the scientific community and
  • Continuously developed and improved upon
Slide Number 10

Scientific community and gnuplot


Gnuplot can
  • Perform curve fitting to find mathematical relation between data points
  • Save the output in various file formats and
  • Support plotting back-end of other scientific software
Slide Number 11

Gist of the tutorials in this series

  • Now I will explain about the tutorials created in this series.
  • Here are the video-clippings of these tutorials.
# Show Title slide of Introduction to gnuplot
  1. Show Title slide of Installation of gnuplot on Windows OS
In these two tutorials, we will install gnuplot in Linux and Windows OS.
# Show test window in Linux
  1. Show test window in Windows.
We will also test the terminal capability of the installed software.
# Show title slide of Example files and demo folder
  1. Loading the 2D graphics plot

Debian Linux 9.3

The next tutorial explains about, example scripts available in gnuplot website and
  1. We will load script files to generate a plot.
# Show title slide of Plotting functions
  1. Formatted plot
  2. set table , plot sin(x) command

Debian Linux 9.3

The next tutorial explains about,
  1. Plotting functions using gnuplot.
  2. Formatting a plot and
  3. Saving the data points to a table.
# Show title slide of Set term and Variations.
  1. Show the generated image file.
  2. Show dumb command.
This tutorial explains about, the set term command.
  1. We will save the output to an image file and
  2. Generate an ASCII output.
Play few seconds of the clip from the tutorial. This tutorial explains about,
  • Plotting datasets from a file
  • Formatting axis to log scale
  • Changing color, line and symbol style and
  • Adding title and axis label
Ubuntu Linux OS version 16.04 # Show Title slide of Generate 3D plots and Surfaces
  1. Show 3D surface and heat map
  2. Show Title slide of Multiple Graphs in a canvas
  3. Show 4 plots in the canvas
In these two tutorials we will write scripts to generate plots.

We will generate 3D plots and learn to script graphs in multiplot mode.

Show Title slide of Error bars and Data fitting.
  1. Show error bar
  2. Data fitting command and
  3. fitted curve.
The next tutorial in the series is Error bars and Data fitting.
  1. In this tutorial, the user will,# Incorporate error bars in a graph
  2. Learn to perform data fitting using gnuplot and
  3. Draw an arrow in the graphical window.
Show title slide from web site.
  1. Show terminal command for pause
  2. Show later file and compiling latex file
The Latex and gnuplot tutorial, explains about, generating tex files with gnuplot.
  • We will learn the pause command and,
  • Generate latex and pdf file outputs of a graph using gnuplot.
# Show title slide of Statistics and boxplot
  1. Show statistical summary
  2. Show box plot
  3. Show title slide of Run gnuplot using Perl script.
The next two tutorials explains about plotting large data sets.
  • We will generate statistical summary for a dataset
  • Draw a boxplot
  • Write a Perl' script to generate an outlier file for gnu plot and
  • Label outliers in a box plot using a Perl script.
Show spoken website on gnuplot tutorials. Later on, we may add more tutorials in this series.

These tutorials will be available on this website.

Slide Number 12 & 13

Summary

To summarize, in this tutorial, we
  • Learned about gnuplot and gnuplot website
  • Browsed through capabilities of gnuplot and example scripts for users
  • Visited the user forum and
  • Played video -clippings of gnuplot tutorials available on this website.
Slide Number 14

Spoken Tutorial Project

This video summarises the Spoken Tutorial Project.

Please download and watch it.

Slide Number 15

Spoken Tutorial workshops

Spoken tutorial team conducts workshops and give certificates.

For more details, please write to us.

Slide Number 16

Forum questions

  • Do you have questions in THIS Spoken Tutorial?
  • Please visit this site.
  • Choose the minute and second where you have the question.
  • Explain your question briefly.
  • Spoken tutorial project will ensure an answer.
  • You must register to ask questions.
Slide Number 17

Forum for specific questions:

  • The Spoken Tutorial forum is for specific questions on this tutorial.
  • Please do not post unrelated and general questions on them
  • This will help reduce the clutter.
  • With less clutter, we can use these discussions as instructional material.
Slide Number 18

Acknowledgement

The Spoken Tutorial Project is funded by MHRD, Government of India.
This is Rani from IIT, Bombay.

Thank you for joining.

Contributors and Content Editors

Madhurig, Ranipv076, Snehalathak