Ask HN: What plotting tools should I invest in learning?
I often need to plot data, generate a quick histogram, etc in the course or my working day. I often fall back on using whatever facilities are offered by a spreadsheet app.
What are your favorite plotting tools for quick data exploration at the command line? Do you use different and more general tools for publication or presentations?
Which plotting tool or tools are worth mastering?
15 comments
[ 2.7 ms ] story [ 30.7 ms ] threadOtherwise I tend to use either Python with matplotlib, or R with ggplot2.
I keep saying I'm going to invest the time to properly learn D3[4] or something similar for doing web-based plotting, but somehow never quite seem to find time to do it. sigh
[1]: http://www.gnuplot.info/
[2]: https://matplotlib.org/
[3]: https://ggplot2.tidyverse.org/
[4]: https://d3js.org/
https://gist.github.com/rbitr/7bf79860c92974182bdedce79c7de0...
In practice I use matplotlib for most plotting because the data's already coming from python. I'm not a fan of any of the grammar of graphics plotting packages but some people swear by them.
Also, I miss Matlab.
Shell: gnuplot
Python: seaborn, bokeh, matplotlib, networkx/pyvis
R: ggplot/tidyverse, iplots
JS: d3, three.js
Matlab: yes.
For web I like plotly. Usually I will use the UI tool to make a chart I like, and then just automate the data portion. Same for highcharts. Those UI plot makers are fantastic if you just want to template something.
Excel. Not command line of course. But a sound engineering choice nevertheless.
I like spreadsheet apps!
I do have some features in mind that will need plotting in JS though. Not sure what the best line charts lib is these days, there's several that seem equally good.e
Matlab - large data sets, great built in functions - cons expensive and proprietary
Python - matplotlib, seaborn
Octave - free matlab
Bonus: Tikz. I've made some really neat stuff in Tikz when I used to work in research.
Doesn't matter if it's Excel, Numbers, Google Sheets, Open Office ... they're ubiquitous and easy :)