5 ms·
What is simpler than this? x = arange(0, 2*pi, 1e-2) plot(x, sin(x))
by plafl 13y ago
What 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.