How to draw 2D diagram in linux
问题 I have a .txt file contatning points which is look like following: ##x1 y1 x2 y2 123 567 798 900 788 900 87 89 .... I want to draw 2D diagram which link each pair in line of the .txt file using gnuplot. Edit1: I find this Draw points and lines in gnuplot, but I don't know how to use gnuplot in my case. Edit2: There is no limit for the diagram type. As I see here I could set terminal to png using following: set terminal png For line style I find this example here: set style line 1 lc rgb '