this post was submitted on 12 Nov 2024
343 points (98.0% liked)

Science Memes

11130 readers
2513 users here now

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

founded 2 years ago
MODERATORS
 
top 21 comments
sorted by: hot top controversial new old
[–] TropicalDingdong@lemmy.world 47 points 1 week ago (1 children)

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.

[–] Saleh 12 points 1 week ago (1 children)

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.

[–] anzo@programming.dev 6 points 1 week ago

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.

[–] scrion@lemmy.world 39 points 1 week ago (3 children)

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.

[–] Eheran@lemmy.world 6 points 1 week ago (1 children)

How does it compare to matplotlib?

[–] scrion@lemmy.world 7 points 1 week ago (1 children)

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.

[–] goldenbug@fedia.io 2 points 1 week ago

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

Plotnine is getting there

[–] ftbd 2 points 1 week ago

What about tikz?

[–] captainlezbian@lemmy.world 1 points 1 week ago

It’s a beautiful graph. And the stats are great. But I’m in industry so I use excel

[–] friend_of_satan@lemmy.world 21 points 1 week ago (1 children)

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

[–] blackbirdbiryani@lemmy.world 4 points 1 week ago

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.

[–] mEEGal@lemmy.world 13 points 1 week ago

yes but f&£k excel

[–] goldenbug@fedia.io 8 points 1 week ago

Fucking love ggplot2

[–] M137@lemmy.world 4 points 1 week ago (2 children)

Does anyone know where the image is from? I know I've seen the movie or whatever it is but just can't remember.

[–] MeaanBeaan@lemmy.world 8 points 1 week ago (1 children)
[–] M137@lemmy.world 3 points 1 week ago

Thank you! I thought that might be it, just doubted that thought.

Gonna rewatch it, haven't seen it since it was new.

[–] fossilesque@mander.xyz 3 points 1 week ago (1 children)

It's gotta be a Tim Burton, no?

[–] M137@lemmy.world 2 points 1 week ago

Yeah, it is! I thought it might be but felt it was something else with a similar style. Big fan of this kind of caricature stop-motion style.

[–] anzo@programming.dev 3 points 1 week ago

Did anyone read the grammar of graphics paper from Hadley Wickham? I kind of enjoyed it a lot, and got to know what's the power source really. I'm amazed so many software libraries came to reinvent compossibility in such unergonomic ways... But it's nice to have options.

I think I might prefer base R over matplotlib though... :p

[–] flora_explora@beehaw.org 3 points 1 week ago

What? Making a nice graph in excel? But yeah, ggplot2 does have a pretty steep learning curve. Once you learned it a bit it is really nice though. I love ggplot2 ❤️

[–] kevin@mander.xyz 2 points 1 week ago