Re:Homogenization of scientific computing – Python is eating...
by synparb on Thursday January 09, 2014 @10:47AM
(#7031098)
There is also Seaborn:
http://stanford.edu/~mwaskom/software/seaborn/index.html
and Vincent: https://github.com/wrobstory/vincent
Also the code examples given on AstroML to work well for figuring out how to make publication quality figures in Matplotlib: http://www.astroml.org/book_figures/
Re:Homogenization of scientific computing – Python is eating...
by plafl on Thursday January 09, 2014 @11:15AM
(#7031280)
What is simpler than this?
x = arange(0, 2*pi, 1e-2)
plot(x, sin(x))
Re:Homogenization of scientific computing – Python is eating...
by bsg75 on Thursday January 09, 2014 @11:46AM
(#7031472)
For things that only need a one or two line command set, Python and R are probably similar. Once things get a bit more complex, matplotlib may not seem as "friendly" to those used to ggplot.
But this about perspective. Coming from a Python background, I would rather stay in Python and work with matplotlib, seaborn, or even ggplot.py, than try to work my data management code into the R model.
Re:Homogenization of scientific computing – Python is eating...
by leephillips on Thursday January 09, 2014 @11:26AM
(#7031338)
This:
set xrange [0:2*pi]
plot sin(x)
EDIT: Yes, this is gnuplot, not R.
Re:Homogenization of scientific computing – Python is eating...
by plafl on Thursday January 09, 2014 @11:45AM
(#7031464)
However, that is gnuplot (I think), not R code. I have not been clear with my question, since I was talking about this parent comment:
R may still have an advantage when it comes to plotting simplicity
On the Python side, matplotlib is still a bit of a pain, but has improved.
Also look at ggplot.py (alpha-ish?) and Bokeh from ContinuumIO