3 ms·
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 gg
by bsg75 13y ago
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
- synparb 13y agoThere is also Seaborn: http://stanford.edu/~mwaskom/software/seaborn/index.html http://stanford.edu/~mwaskom/software/seaborn/index.html and Vincent: https://github.com/wrobstory/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/ http://www.astroml.org/book_figures/
- plafl 13y agoWhat is simpler than this? x = arange(0, 2*pi, 1e-2) plot(x, sin(x))
- leephillips 13y agoThis: set xrange [0:2*pi] plot sin(x) EDIT: Yes, this is gnuplot, not R.
- plafl 13y agoHowever, 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
- bsg75 13y agoFor 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.