4 ms·
Gnuplot is still used quite a lot in my area. You need to work more to make something aesthetically pleasing, but it's generally a better fit to plotting large
by jarvist 10y ago
Gnuplot is still used quite a lot in my area. You need to work more to make something aesthetically pleasing, but it's generally a better fit to plotting large amounts of data coming from another code. I've also been quite badly burnt by Matplotlib scripts no longer producing the same plot with changes in the library. Gnuplot version 5+ is nicer to use and has some pretty powerful features.
This blog has been a good cookbook reference for how to use it in a modern way:
http://www.gnuplotting.org/ http://www.gnuplotting.org/
- notalaser 10y agoThe nice thing about Ggnuplot is that it's extremely easy to connect it with anything, since it's basically its own language. Python has made a lot of inroads into the scientifc computing field but it's by no means the only one. This is a field where twenty year-old Fortran libraries are still relevant. SVN also has the important advantage of being relatively easy to pick up by someone who's not a programmer. It would not be my first choice for a version control system now that we have Mercurial and git (frankly, it wasn't not even back when our only affordable alternatives were CVS and RCS), but it's very easy to teach it.
- leephillips 10y agoGnuplot can handle data files with millions of points, that some users have reported to cause Matplotlib to crash. It's actually easy to make the plots look good. It can be controlled through a socket interface from any programming language, and seemlessly integrates with LaTeX. We're about to start rolling out chapters from my book, which covers the latest version: https://alogus.com/publishing/gnuplot5/ https://alogus.com/publishing/gnuplot5/ EDITed to reflect comment below.
- metaobject 10y agoHmmm, I've never had mpl crash and we routinely plot data sets with 10s of millions of points. We do a mixture of 2D scatter plots. 1D/2D histograms, and a few 3D plots. What type of plots are you generating? What type of data?
- leephillips 10y agoI never had the problem myself, but have seen a handful of user reports in mailing lists and SO. Perhaps recent releases are better performing. I used to use mpl regularly and found it very capable, but never liked the API. I've edited my comment to make it more accurate.
- n00b101 10y ago> we routinely plot data sets with 10s of millions of points What is the performance like on that?