Letzte Änderung am 03. April 2025 um 12:24:15

Bessere Schriftart?

Die Sache mit der Schriftart in {ggplot}.

R Code [zeigen / verbergen]
library(ggrepel)

Getting started with {ggrepel} {ggtext}: Improved text rendering support for ggplot2

R Code [zeigen / verbergen]
update_geom_defaults("label", 
                     list(family = "IBM Plex Sans Condensed"))
update_geom_defaults(ggtext::GeomRichText, 
                     list(family = "IBM Plex Sans Condensed"))
update_geom_defaults("label_repel", 
                     list(family = "IBM Plex Sans Condensed"))
R Code [zeigen / verbergen]
ggplot(tibble(x = 1:3, y = 1:3), aes(x,y)) +
  theme_minimal(base_family = "IBM Plex Sans Condensed") +
  geom_point() +
  labs(x = "Hallo", y = "Mehr zesz")