Hacker News new | past | comments | ask | show | jobs | submit login

Definitely seems like a nice API on top of matplotlib.

I’ve started using gnuplot a lot after hearing Brendan Gregg mention it a few times. It fills a great niche for making decent graphs without having to write code.


I had largely given up on gnuplot because of my inability to produce pretty images. However, after being pointed to http://www.gnuplotting.org/ and seeing the beautiful images there I’ve started using it again.

And, yeah I get that “pretty” shouldn’t be the absolute aim of a plot, but it is a nice addition.

I hadn't used gnuplot, but when my UPS was dying, I decided I needed a realtime graph of it recharging/discharging to see what was going on.

I called the apcupsd api from the command line and output some stats to a file that I'd formatted into columns using awk/grep, I then found that I could configure gnuplot to draw a graph from this file, and then update itself automatically as the file changed.

All in all, it took me 10 minutes to put together having not used gnuplot before and did exactly what I needed. I could watch the graph update every few seconds/minutes and keep an eye on what was happening, and because I had written the data to a file first, I could always go back and re-plot it later if I had found anything interesting to re-plot for.

End result; UPS is dead, get a new one :D

I did the same thing during an internship where tensorboard wasn’t available on our training clusters - instead I just dumped all of the training metrics I needed into a tsv and made a gnuplot ascii graph. Worked brilliantly and took no time to set up.

Oh man, I'm old. Haven't heard "gnuplot" since my second job in 1988 (departmental programmer for Dept of Physics, Monash University; which is where my HN username comes from btw). Yes, gnuplot is cool. One of the oldest OS codebases still in active use I reckon.

Yes! Another of my generation on HN. Gnuplot was great in the 80's.

gnuplot is great today!

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact