歩行分析

歩行分析テンプレート。歩行周期中の関節角度変化をプロット。

歩行分析関節角度
歩行分析

R Code (ggplot2)

library(ggplot2)

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

ggplot(df, aes(x = x, y = y)) +
  geom_point(size = 2) +
  geom_line() +
  scale_x_continuous(name = "% Gait cycle", limits = c(0, 100)) +
  scale_y_continuous(name = "Joint angle (degrees)", limits = c(-20, 60)) +
  labs(title = "Gait Analysis") +
  theme_bw(base_size = 14) +
  theme(plot.title = element_text(face = "bold", hjust = 0.5))