library(ggplot2)
toy <- data.frame(
x = 1:5,
y = exp(1:5)
)
ggplot(toy) +
geom_point(aes(x, y))ggplot(toy) +
geom_point(aes(x, log(y)))ggplot(toy) +
geom_point(aes(x, y)) +
scale_y_continuous(transform = "log")Created on 2025-10-21 with reprex v2.1.1.9000


