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:
Post a Comment