酸塩基三角図

酸塩基平衡の三角図テンプレート。呼吸性・代謝性の酸塩基障害分類に使用。

酸塩基三角図pH呼吸性代謝性
酸塩基三角図

R Code (ggplot2)

library(ggplot2)

# ---- Acid-Base Ternary Diagram ----
# あなたのデータを入力してください
df <- data.frame(
  x = c(),
  y = c()
)

ggplot(df, aes(x = x, y = y)) +
  geom_point(size = 2) +
  geom_line() +
  scale_x_continuous(name = "", limits = c(0, 1)) +
  scale_y_continuous(name = "", limits = c(0, 1)) +
  labs(title = "Acid-Base Ternary Diagram") +
  theme_bw(base_size = 14) +
  theme(plot.title = element_text(face = "bold", hjust = 0.5))