Re:Show HN: DataFart - easy command line graphing
by philsnow on Saturday December 22, 2012 @05:47PM
(#4957754)
like gnuplot?
[ Parent
| on HN ]
Re:Show HN: DataFart - easy command line graphing
by yummyfajitas on Saturday December 22, 2012 @05:59PM
(#4957779)
Or the following python script:
import pandas
from pylab import *
d = pandas.read_csv(sys.argv[1])
plot(d[d.columns[0]], d[d.columns[1]])
xlabel(d.columns[0])
xlabel(d.columns[1])
show()
That'll just pop up a window displaying the graph. With 2-3 extra lines of code and more than 30 seconds of effort, I'm sure it would be easy to upload to imgur.Example output: http://i.imgur.com/m7ooj.png
Re:Show HN: DataFart - easy command line graphing
by mdonahoe on Saturday December 22, 2012 @07:30PM
(#4957993)
Assuming you have matplotlib installed.
I have definitely wasted an hour in vain trying to install that correctly on an old Mac mini.
Re:Show HN: DataFart - easy command line graphing
by alphakappa on Saturday December 22, 2012 @08:20PM
(#4958161)
The SciPy Superpack will save you many hours of trouble in the future then. (SciPy, NumPy, MatplotLib etc)
Re:Show HN: DataFart - easy command line graphing
by tlarkworthy on Saturday December 22, 2012 @07:55PM
(#4958085)
words cannot describe how much I hate matplotlib
Re:Show HN: DataFart - easy command line graphing
by bsg75 on Saturday December 22, 2012 @11:38PM
(#4958594)
Maybe some anecodtes? Alternatives (for Python)? Would like to generate D3 style charts, without leaving Python for JS.
Re:Show HN: DataFart - easy command line graphing
by tlarkworthy on Sunday December 23, 2012 @07:49PM
(#4961329)
tell me you find any. I use matplotlib as I have not found an alternative.