Skip to content

Instantly share code, notes, and snippets.

@ryseto
Last active August 25, 2020 01:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ryseto/78b75e082a9276a85a9a to your computer and use it in GitHub Desktop.
Save ryseto/78b75e082a9276a85a9a to your computer and use it in GitHub Desktop.
set terminal qt
tg_L=0
bind "L" "tg_L=tg_L+1;if(tg_L%2)set logs;replot; else unset logs;replot;"
tg_k=1
bind "k" "tg_k=tg_k+1;if(tg_k%2)set key;replot; else unset key;replot;"
tg_l=0
bind "-" "tg_l=tg_l+1;if(tg_l%2)set style data lp;replot; else set style data p;replot;"
bind "O" "set term post eps color enhanced 18;set out 'tmp_gnuplot.eps';replot;set term qt;
bind "P" "! open -a Preview tmp_gnuplot.eps;"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment