... | ... | @@ -38,7 +38,7 @@ Mode 1: second argument is a scalar/number that is linked to the previously defi |
|
|
|
|
|
Mode 2: the position of the stimulus can be positioned individually by either defining the position of the left upper corner in percent or by defining a rect (see exampled below).
|
|
|
|
|
|
The call of [showStimuli](https://gitlab.ruhr-uni-bochum.de/ikn/OTBR/-/blob/master/Screen/showStimuli.m) requires a call of [initOTBR](/Initialization#initotbr).
|
|
|
The call of [showStimuli](https://gitlab.ruhr-uni-bochum.de/ikn/OTBR/-/blob/master/Screen/showStimuli.m).
|
|
|
The position of the image is defined by the position of the InputKey(s) or by the x and y position in percent to position the stimulus freely on the presentation monitor.
|
|
|
|
|
|
**Inputs**
|
... | ... | @@ -152,7 +152,7 @@ Using these commands will lead to the following presentation screen: |
|
|
function: rect = [showManyStimuli(image, varargin)](https://gitlab.ruhr-uni-bochum.de/ikn/OTBR/-/blob/master/Screen/showManyStimuli.m)
|
|
|
|
|
|
**Description**
|
|
|
Use this function to display many stimuli on the stimulus screen at the same time. The same can be achieved by displaying several stimuli with the [dontFlip](/How-tos#flip-dontFlip) option (advanced users). For this option please read the [chapter 2.1. Flip/dontFlip](/How-tos#flip-dontFlip). Also allows to merge two (or more) images into one if one of the two (or all except one) contains transparent backgrounds/ elements.
|
|
|
Use this function to display many stimuli on the stimulus screen at the same time. The same can be achieved by displaying several stimuli with the [dontFlip](/How-tos#flip-dontflip) option (advanced users). For this option please read the [chapter 2.1. Flip/dontFlip](/How-tos#flip-dontflip). Also allows to merge two (or more) images into one if one of the two (or all except one) contains transparent backgrounds/ elements.
|
|
|
|
|
|
**Inputs**
|
|
|
~~~
|
... | ... | @@ -161,17 +161,17 @@ Use this function to display many stimuli on the stimulus screen at the same tim |
|
|
|
|
|
**Inputs-optional**
|
|
|
~~~
|
|
|
varargin ‘x’ x position in percent (0 -> left, 100 -> right)
|
|
|
varargin 'x' x position in percent (0 -> left, 100 -> right)
|
|
|
x position as a string (left, center, right)
|
|
|
Use a vector for multiple stimuli
|
|
|
‘y’ y position in percent (0 -> top, 100 -> bottom)
|
|
|
'y' y position in percent (0 -> top, 100 -> bottom)
|
|
|
y position as a string (top, center, bottom)
|
|
|
Use a vector for multiple stimuli
|
|
|
‘rect’ position as a rect. NOT in combination with x and y
|
|
|
'rect' position as a rect. NOT in combination with x and y
|
|
|
(percentage), use pixel number as x and y coordinates
|
|
|
for the upper left and lower right corner (advanced users)
|
|
|
Use a matrix for multiple stimuli!!!
|
|
|
‘dontFlip’ don't flip buffers (advanced users)
|
|
|
'dontFlip' don't flip buffers (advanced users)
|
|
|
~~~
|
|
|
|
|
|
**Examples**
|
... | ... | |