BLUE
TV
Teun van den Brand
@teunbrand.bsky.social
26 followers7 following7 posts
TVteunbrand.bsky.social

A few good ol' base options: ``` r palette.colors(26, "alphabet") palette.colors(36, "polychrome") ```

0
Reposted by Teun van den Brand
IRingorohlfing.bsky.social

Constrain layer to panels with at_panel() from {ggh4x} #rstats#datavizteunbrand.github.io/ggh4x/refere... I have always wanted a function like this. {gghx4) was unknown to me before, it has a suite of useful functions for tweaking {ggplot2} output.

Screenshot from linked website. At the top is a code block. The first command is a standard {ggplot2} command that creates a 2x3 facet plot. The next two commands add text annotation only to the top-middle and bottom-left panel using ggh4x::at_panel()
1
Reposted by Teun van den Brand
JWjakewittman.bsky.social

They've got secondary axis for discrete scales if you download development branch from github! I needed this exact thing this morning and found it got merged last month

1
TVteunbrand.bsky.social

It looks good! If you seek to reduce the amount of effort into formatting circular text, can I gently suggest the `coord_radial(rotate_angle = TRUE)` method? Example here: www.tidyverse.org/blog/2024/03...

ggplot2 3.5.0: Introducing: coord_radial() - Tidyverse
ggplot2 3.5.0: Introducing: coord_radial() - Tidyverse

Introducing a new polar coordinate system that supersedes the old `coord_polar()`. Read on about the new `coord_radial()`.

1
Reposted by Teun van den Brand
TLthomasp85.com
TVteunbrand.bsky.social

I think this would only make sense for image data (for example microscopy) that might need to be quantified and where pixel intensity is more finegrained than the standard 256 levels in a channel. For screen or print purposes, png is excellent.

0
Reposted by Teun van den Brand
TLthomasp85.com

ragg for #rstats has just had a major update adding in all the new stuff that has been added to the graphics engine the last two year: - luminance masks - affine transformations - blend modes - arbitrary paths - low level glyph rendering

0
TVteunbrand.bsky.social

I wish I knew!

1
TVteunbrand.bsky.social

I think most have dispersed over a whole range of social media. #rstats feeds seem sparse on most platforms I bother to check.

1
TV
Teun van den Brand
@teunbrand.bsky.social
26 followers7 following7 posts