Skip to content

Instantly share code, notes, and snippets.

@chomy
Last active December 25, 2015 14:19
Show Gist options
  • Save chomy/6989829 to your computer and use it in GitHub Desktop.
Save chomy/6989829 to your computer and use it in GitHub Desktop.
Gnuplot.py test
import Gnuplot
data = Gnuplot.Data( ((1,1),(2,2),(3,3)), with_='lp', title='test plot')
g = Gnuplot.Gnuplot()
# Plot on display
g.plot(data)
# Hardcopy
g.hardcopy('plot.ps', 'postscript')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment