SpO2分布バイオリン

SpO2分布バイオリンプロットテンプレート。疾患別のSpO2分布比較。

violinバイオリンSpO2酸素呼吸器
SpO2分布バイオリン

R Code (ggplot2)

library(ggplot2)

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

ggplot(df, aes(x = x, y = y)) +
  geom_point(size = 2) +
  geom_line() +
  scale_x_continuous(name = "Condition", limits = c(0, 3)) +
  scale_y_continuous(name = "SpO2 (%)", limits = c(70, 100)) +
  labs(title = "SpO2 Distribution Violin") +
  theme_bw(base_size = 14) +
  theme(plot.title = element_text(face = "bold", hjust = 0.5))