Creates a multi-panel visualization of keypoint speed data over time. Each keypoint gets its own panel showing its speed, useful for analyzing movement intensity and identifying potential tracking issues.
Arguments
- data
A data frame containing tracked keypoint data with the following columns:
time
: Numeric time valueskeypoint
: Factor specifying the keypoint namesx
: x-coordinatesy
: y-coordinates
- y_max
Optional numeric value specifying the maximum value for the y-axis. If NULL (default), the y-axis limit is automatically determined from the data.
Value
A ggplot object combining individual time series plots for each keypoint using patchwork. The plots are stacked vertically with shared axes and legends.
See also
plot_position_timeseries()
for plotting position datacalculate_speed()
for the speed calculation