Skip to content

Instantly share code, notes, and snippets.

@jdmichaud
Last active May 23, 2018 20:22
Show Gist options
  • Save jdmichaud/df9db555deb9e8f13184b5c4db46a9fd to your computer and use it in GitHub Desktop.
Save jdmichaud/df9db555deb9e8f13184b5c4db46a9fd to your computer and use it in GitHub Desktop.
Plotting a function with gnuplot (with imgcat)
gnuplot -e "set term png; f(x)=1+4*x-x**2; plot f(x)" | imgcat
gnuplot -e "set term png; set output 'plot.png'; f(x)=1+4*x-x**2; plot f(x)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment