Screen(‘LineStipple’)

Psychtoolbox>Screen.{mex*} subfunction

[stippleEnabled stippleFactor stipleVector]=Screen(‘LineStipple’, windowPtr, [enable], [factor], [stipplePattern] )

Set ‘DrawLine’ to draw dashed lines. Argument “stippleArray” is a 16-element
logical array specifying the stipple pattern. Argument “factor” scales the
pattern by an integer mutiple. By default, factor is 1 and stipplePattern is [0
1 0 1 0 1 0 1 0 1 0 1 0 1 0 1]

###See also: FrameRect