Skip to content

Instantly share code, notes, and snippets.

@myui
Created September 2, 2016 02:24
Show Gist options
  • Save myui/5b71d00b6de921bd27d0cbdca417f545 to your computer and use it in GitHub Desktop.
Save myui/5b71d00b6de921bd27d0cbdca417f545 to your computer and use it in GitHub Desktop.
gnuplot
set ytics nomirror
unset y2tics
set y2r[-200:300]
set yr[0:60]
set datafile separator " "
plot \
"hivemall_twitter2d.dat" using 1:2 with lines title "x" axes x1y2, \
"hivemall_twitter2d.dat" using 1:3 with lines title "outlier" axes x1y1
set yr[-2:14]
plot \
"hivemall_twitter2d.dat" using 1:2 with lines title "x" axes x1y2, \
"hivemall_twitter2d.dat" using 1:4 with lines title "change" axes x1y1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment