Basics of how to install gnuplot and draw a basic graph with
-x and y axis labelled
-giving color to the line
– drawing multi-lined graph
On ubuntu 14.04
1. $ sudo apt-get update
2. $sudo apt-get install gnuplot
3. $sudo apt-get install gnuplot-x11
Draw a simple graph. Eg. A .txt file with two columns. First column having x-axis values. Second column having y-axis values.
$ plot ‘<filename.txt>’ with line
Few of the following setting can be done to provide title, x-axis and y-axis labelling and to provide legends. once you have typed $gnuplot on your terminal and got a gnu prompt do the following according to your need.