line

 elements

One or more lines.

For each trial you define in an experiment script, you can make one or more 

line

 objects using 

line

Object and input them to addTrial.

For each trial you define in an experiment script, you can make one or more 

line

 objects using 

line

Object and input them to addTrial.

Input properties

Adjustable properties

You can allow the subject to adjust the following input properties of an object of this type during the experiment using an adjuster element. If you need to make other properties adjustable, you can copy the element type using newPbType and edit it.

position
nn_eyes
rotation
opacity

(None)

(None)

points

No default

A 1×4 vector <cd>[x1 y1 x2 y2]<cd> setting line start and end points (deg). Coordinates are relative to element position which you can set in position (default screen center).

For multiple lines use an n×4 matrix with rows corresponding to lines.

width

Default: 0.075 deg

Line width (deg).

For multiple lines of different widths using a row vector with numbers corresponding to lines. For multiple lines of the same width you can use one number.

color

Default: white

A 1×3 RGB vector with numbers between 0–1.

For multiple lines of different colors use an n×3 matrix with rows corresponding to lines. For multiple lines of the same color you can use one vector.

Input properties all visual elements have

position

Input properties all adjuster elements have

adjust

Input properties all objects have

report
info

Record properties

PsychBench uses record properties to record information during experiments. You can't set record properties but you can see them in experiment results using input property report.