骨密度-年齢散布図

骨密度-年齢散布図テンプレート。加齢に伴う骨密度変化を表示。

scatter散布図骨密度BMD年齢
骨密度-年齢散布図

R Code (ggplot2)

library(ggplot2)

# ---- BMD vs Age Scatter ----
# あなたのデータを入力してください
df <- data.frame(
  x = c(),
  y = c()
)

ggplot(df, aes(x = x, y = y)) +
  geom_point(size = 2) +
  geom_line() +
  scale_x_continuous(name = "Age (years)", limits = c(20, 90)) +
  scale_y_continuous(name = "BMD (g/cm²)", limits = c(0.4, 1.4)) +
  labs(title = "BMD vs Age Scatter") +
  theme_bw(base_size = 14) +
  theme(plot.title = element_text(face = "bold", hjust = 0.5))