carrien / free-speech

Analysis and plotting code for speech neuroimaging experiments.
MIT License
4 stars 5 forks source link

Set participant screen based on window orientation #83

Closed cwnaber closed 1 year ago

cwnaber commented 1 year ago

Previously, setup_exptFigs was only designed to work with the primary monitor in the left position, and the participant's monitor in the right position. The Matlab figure with the participant's instructions was hard-coded to display to the right of the main display.

Now, we check if the second display is to the right or left of the main monitor, and display the figure on the correct screen.

I tested this with both orientations in an experiment which uses the default experiment figure setup.

This does not affect experiments where we assume there is only one screen, like the iEEG setup. Those experiments use a different function to create experiment figures.