O2-CO2ダイアグラム

O2-CO2ダイアグラムテンプレート。換気と灌流の関係を評価。

O2-CO2ガス交換V/Q
O2-CO2ダイアグラム

R Code (ggplot2)

library(ggplot2)

# ---- O2-CO2 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 = "PO2 (mmHg)", limits = c(0, 150)) +
  scale_y_continuous(name = "PCO2 (mmHg)", limits = c(0, 60)) +
  labs(title = "O2-CO2 Diagram") +
  theme_bw(base_size = 14) +
  theme(plot.title = element_text(face = "bold", hjust = 0.5))