Fixations by line
Fixations colored by their nearest text line.
- Open your data in the Scanpath View and pick a trial in Select trial.
- In Fixations → Color, choose Text line (computed).
- Keep Saccades and Stimulus on. Each fixation takes the color of the nearest line of word boxes.
Open the demo · All controls
scanpath-studio render --sample \
-p l37_273 -t l37_273_2_1_1_Ele --screen Paragraph \
--color-by-line \
--highlight-column '' \
-o text-lines.html
import scanpath_studio as sps
words, fixations = sps.load_sample_data()
pid, tid = "l37_273", "l37_273_2_1_1_Ele"
fig = sps.plot_scanpath(
words, fixations, pid, tid, screen="Paragraph", color_by_line=True
)
sps.save_figure(fig, "text-lines.html")
← All examples