model
Author

Kazuharu Yanagimoto

Published

April 13, 2025

Code
demand_supply |>
  ggplot(aes(x = K, y = r, color = label)) +
  geom_line() +
  annotate(
    "text",
    x = 11,
    y = 0.045,
    label = "Supply",
    color = color_base,
    size = 5,
  ) +
  annotate(
    "text",
    x = 11,
    y = -0.005,
    label = "Demand",
    color = color_accent,
    size = 5,
  ) +
  scale_color_manual(values = c(color_accent, color_base)) +
  labs(x = "Capital (K)", y = "Interest Rate (r)") +
  theme(legend.position = "none")