色覚検査

色覚検査テンプレート。石原表等の結果記録に使用。

色覚石原表色覚異常
色覚検査

R Code (ggplot2)

library(ggplot2)

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

ggplot(df, aes(x = x, y = y)) +
  geom_point(size = 2) +
  geom_line() +
  scale_x_continuous(name = "Test plate", limits = c(0, 15)) +
  scale_y_continuous(name = "Response", limits = c(0, 3)) +
  labs(title = "Color Vision Test") +
  theme_bw(base_size = 14) +
  theme(plot.title = element_text(face = "bold", hjust = 0.5))