79676849

Date: 2025-06-23 23:14:08
Score: 1
Natty:
Report link

Are you up to doing it with just ggplot2?

ggplot(dat, aes(x = x, y = 1)) +
  geom_point() +
  scale_x_continuous(limits = c(-5, 5)) +
  geom_text(aes(x=0, y=Inf, label=lbl), data=data.frame(lbl="Text"), vjust=1)

ggplot grob with text at the very top of the plot

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • High reputation (-2):
Posted by: r2evans