<p>This should work:</p>

<pre><code>picture = expyriment.stimuli.Picture("/path/to/picture.jpg")
fixcross = expyriment.stimuli.FixCross()
picture.present(update=False)
fixcross.present(clear=False)
</code></pre>

<p>Alternatively, you can first plot the fixation cross on top of the picture and then present it:</p>

<pre><code>picture = expyriment.stimuli.Picture("/path/to/picture.jpg")
fixcross = expyriment.stimuli.FixCross()
fixcross.plot(picture)
picture.present()
</code></pre>

CC BY-SA 4.0
2019-01-11T16:31:09.810Z
2019-01-11T16:31:09.810Z
Florian Krause
<p>I wanted to try to put a fixation cross on top of images presented to avoid subject eye movements as much as possible.</p>

<p>I am using Python's Expyriment package and thought that after <code>present</code> with a <code>expyriment.stimuli.Picture</code> I could do a <code>present</code> with an <code>expyriment.stimuli.FixCross</code> object using the <code>clear</code>or <code>update</code> input arguments. But this does not seem to work. </p>

<experimental-psychology><software>
Put a fixation cross on top of a image in Expyriment?
Finn Årup Nielsen
# Put a fixation cross on top of a image in Expyriment?

(Asked by: username_0 on 2015-12-03)

I wanted to try to put a fixation cross on top of images presented to avoid subject eye movements as much as possible.

I am using Python's Expyriment package and thought that after `present` with a `expyriment.stimuli.Picture` I could do a `present` with an `expyriment.stimuli.FixCross` object using the `clear`or `update` input arguments. But this does not seem to work.

**Tags:** experimental-psychology, software


---

## 1 answers

### Answer by username_1 on 2019-01-11. Score: 1

This should work:
picture = expyriment.stimuli.Picture("/path/to/picture.jpg")
fixcross = expyriment.stimuli.FixCross()
picture.present(update=False)
fixcross.present(clear=False)

Alternatively, you can first plot the fixation cross on top of the picture and then present it:
picture = expyriment.stimuli.Picture("/path/to/picture.jpg")
fixcross = expyriment.stimuli.FixCross()
fixcross.plot(picture)
picture.present()


---

