Saturday

Linux Mint and gnuplot

Try the following steps:

Click on Linux Mint Start Menu > Terminal

Type the following in the terminal:
$ sudo apt-get install gnuplot
$ cd /home/myusername/Desktop/

Create a file named “tsp4.tsp” and then copy the following text into the file. Put this file at “/home/myusername/Desktop/” directory.
# start line
10 10
10 110
110 110
110 10
10 10
110 110
110 10
10 110
# end line

$ pwd
/home/myusername/Desktop

$ gnuplot
> plot “tsp4.tsp” with linespoints
> quit

$ exit

No comments:

Newton-Raphson Method in C++

The Newton Raphson Method is an open method used to find the roots of a function. It employs the technique of linear approximation and invol...