[Solved] Plotting a text file by using gnuplot


the bare minimum required to plot that data is to have a program file that looks like this:

set title "SAMPLE"
set terminal canvas
plot [-19:19] 'data.dat'

Setting the terminal to canvas means it will output an html canvas, if you want any different output you need to look into the documentation

then in the terminal you can type:

gnuplot < PROGRAM_FILE > OUTPUT.html

That should get you started, but you really should look into the documentation if you want to do anything more.

0

solved Plotting a text file by using gnuplot