42 points

Yeah but once you’ve done it once in R you can just dump your data again, update the theme and boom, done again.

Also 30 minutes? maybe 3.

permalink
report
reply
9 points

You can save template in Excel too.

I know Excel is wonky sometimes and it is from Microsoft, so it comes with a whole lot of bullshit around it, but in terms of available features it is quite solid nowadays.

permalink
report
parent
reply
3 points

Can you do a plot a hundred times with a hundred different datasets with these templates? Without having to apply such template to each file, just pointing to the folder with them…

To me that’s the whole point of programming, you can automatically do a thing and it doesn’t matter if it took an hour to write the code. Once you have it, you point it to the folder with all datasets, iterate over while you drink a coffee and then you have the hundreds of plots.

permalink
report
parent
reply
13 points

yes but f&£k excel

permalink
report
reply
8 points

Fucking love ggplot2

permalink
report
reply
34 points

You’ll get used to it and it will only take a couple of minutes. And I honestly believe nothing comes close to ggplot2 in terms of quality, and I don’t use R for anything else.

permalink
report
reply
6 points

How does it compare to matplotlib?

permalink
report
parent
reply
6 points

Plots are typical composed, and when writing a paper (I insert them mostly into TeX publications) I do find the quality of the resulting plot is just so much more refined.

Seaborn is indeed closer and was definitely inspired by ggplot2 in some areas, but IMHO, it’s still not 100% there visually. I’m very much a Python user and would love it to be, but when I’m, let’s say, publishing a book, I’d always go back to ggplot2 - when preparing a paper for a lab class, seaborn is probably fine.

permalink
report
parent
reply
2 points

Same here. I mostly work with Python but the graphs? They are ggplot2.

Plotnine is getting there

permalink
report
parent
reply
2 points

What about tikz?

permalink
report
parent
reply
20 points

It me, but excel is the bad option and plotly is the good option.

permalink
report
reply
3 points

Plotly has the most pain-in-the-ass syntax compared to ggplot2 IMHO. And that’s from a guy who uses a tonne of plotly.

permalink
report
parent
reply

Science Memes

!science_memes@mander.xyz

Create post

Welcome to c/science_memes @ Mander.xyz!

A place for majestic STEMLORD peacocking, as well as memes about the realities of working in a lab.



Rules

  1. Don’t throw mud. Behave like an intellectual and remember the human.
  2. Keep it rooted (on topic).
  3. No spam.
  4. Infographics welcome, get schooled.

This is a science community. We use the Dawkins definition of meme.



Research Committee

Other Mander Communities

Science and Research

Biology and Life Sciences

Physical Sciences

Humanities and Social Sciences

Practical and Applied Sciences

Memes

Miscellaneous

Community stats

  • 12K

    Monthly active users

  • 2.9K

    Posts

  • 41K

    Comments