expyfun.analyze.plot_screen#

expyfun.analyze.plot_screen(screen, ax=None)[source]#

Plot a captured screenshot

Parameters:
screenarray

The N x M x 3 (or 4) array of screen pixel values.

axmatplotlib Axes | None

If provided, the axes will be plotted to and cleared of ticks. If None, a figure will be created.

Returns:
axmatplotlib Axes

The axes used to plot the image.

Examples using expyfun.analyze.plot_screen#

Run a very basic experiment

Run a very basic experiment

Experiment drawing methods

Experiment drawing methods

Experiment with eye-tracking

Experiment with eye-tracking

Display text with different formatting methods

Display text with different formatting methods

Use joystick controls

Use joystick controls

Keypress demo

Keypress demo

KeyPressAndRelease demo

KeyPressAndRelease demo

Sound level test and visual size calibration

Sound level test and visual size calibration

Mouse click demo

Mouse click demo

ProgressBar demo

ProgressBar demo

Run a simple experiment

Run a simple experiment

Video property control

Video property control

Use the CRM corpus

Use the CRM corpus

Video playing made simple

Video playing made simple

A-V sync test

A-V sync test