• @TropicalDingdong
    link
    English
    479 days ago

    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.

    • @[email protected]
      link
      fedilink
      English
      128 days ago

      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.

      • adr1an
        link
        fedilink
        English
        68 days 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
    link
    English
    389 days ago

    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.

    • @captainlezbian
      link
      English
      17 days ago

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

    • @Eheran
      link
      English
      69 days ago

      How does it compare to matplotlib?

      • @scrion
        link
        English
        78 days ago

        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
          link
          fedilink
          28 days ago

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

          Plotnine is getting there

      • @[email protected]
        link
        fedilink
        English
        2
        edit-2
        9 days ago

        It’s a lot more like Seaborn. It produces gorgeous plots with a lovely syntax that is quick and easy to use, but it’s not a full drawing toolkit like matplotlib.

        If I need the plot to have a very precise aesthetic, mpl is great. But if I want a high quality statistical plot that looks great. ggplot2 will do it in about 2 seconds. See also plotnine.

        I have no idea how op thinks they could make a decent histogram any quicker than ggplot(data) + geom_histogram(x= x). I mean you don’t even have to leave your shell/editor or extract the SQL into CSV.

  • @friend_of_satan
    link
    English
    209 days ago

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

    • @blackbirdbiryani
      link
      English
      38 days 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
    link
    English
    139 days ago

    yes but f&£k excel

  • M137
    link
    English
    48 days ago

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

      • M137
        link
        English
        38 days ago

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

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

      • M137
        link
        English
        28 days 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.

  • adr1an
    link
    fedilink
    English
    28 days 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