Skip to content

Instantly share code, notes, and snippets.

@cooljith91112
Created April 16, 2018 10:06
Show Gist options
  • Save cooljith91112/80b7223090be7c841bd8592d9b1d11ef to your computer and use it in GitHub Desktop.
Save cooljith91112/80b7223090be7c841bd8592d9b1d11ef to your computer and use it in GitHub Desktop.
data-test
set title 'Line'
set xlabel 'x'
set ylabel 'y'
set grid
set key below center horizontal noreverse enhanced autotitle box dashtype solid
set tics out nomirror
set border 3 front linetype black linewidth 1.0 dashtype solid
set xrange [1:5]
set xtics 1, .5, 5
set mxtics 1
set style line 1 linecolor rgb '#0060ad' linetype 1 linewidth 1
set terminal png enhanced
set output 'img/line.png'
plot 'data.dt' using 1:2 with lines linestyle 1 title 'data'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment