[SciPy-User] Best way to feed data to Gnuplot?
Wed Mar 27 12:39:43 CDT 2013
On Wed, 27 Mar 2013 17:26:01 -0000, Andrew Fraser <firstname.lastname@example.org> wrote:
> I switched from gnuplot to matplotlib in 2008. The new code is a little
> easier to read but the plots from gnuplot looked better.
You beat me to it! +1 for matplotlib. I only used gnuplot for about 3
months, also in 2008, before switching to matplotlib. True, the graphs
don't look as nice, but my code does; I haven't looked back...
On Wed, 27 Mar 2013 16:45:06 -0000, Florian Lindner <email@example.com>
> Is there a better way? What is the best to print the numpy data in the
Have you considered using matplotlib? It interfaces with numpy arrays
In days long gone, I wrote formatted strings to gnuplot-compatible text
files, and then called gnuplot with Python's os.system. It wasn't a very
elegant solution at all..
matplotlib is at first overwhelmingly large, as it provides both an Object
Oriented API, and also tries to emulate a very similar interface to
matlab (aka matplotlib.pyplot). When used in conjunction with numpy,
scipy (and ipython), it goes by the name pylab.
More information about the SciPy-User