身長-体重散布図

身長-体重散布図テンプレート。発達段階の身長体重関係を表示。

scatter散布図身長体重解剖
身長-体重散布図

R Code (ggplot2)

library(ggplot2)

# ---- Body Length vs Weight 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 = "Body Length (cm)", limits = c(40, 180)) +
  scale_y_continuous(name = "Weight (kg)", limits = c(2, 80)) +
  labs(title = "Body Length vs Weight Scatter") +
  theme_bw(base_size = 14) +
  theme(plot.title = element_text(face = "bold", hjust = 0.5))