How can I change penwidth in 'DrawLine' in Psychtoolbox?

6 visualizaciones (últimos 30 días)
HONGJI KIM
HONGJI KIM el 1 de Sept. de 2017
Respondida: Olivia Krieger el 21 de Nov. de 2018
%%This is what the tutorial says:
Screen('DrawLine', windowPtr [,color], fromH, fromV, toH, toV [,penWidth]);
%%so I did like:
[wPtr, rect] = Screen('OpenWindow', 0)
Screen('DrawLine', wPtr, [180, 40, 80], 1000, 800, 1600, 1200, [10]);
Screen('Flip', wPtr);
%%I also tried:
[wPtr, rect] = Screen('OpenWindow', 0)
Screen('DrawLine', wPtr, [180, 40, 80], 1000, 800, 1600, 1200, 10);
Screen('Flip', wPtr);
but neither of them can change the penwidth of line.. plz help me
  1 comentario
Walter Roberson
Walter Roberson el 1 de Sept. de 2017
This sounds more like a Psychtoolbox problem than a MATLAB problem.

Iniciar sesión para comentar.

Respuestas (2)

Stalin Samuel
Stalin Samuel el 1 de Sept. de 2017

Olivia Krieger
Olivia Krieger el 21 de Nov. de 2018
Use widths 7 and below.

Categorías

Más información sobre Image display and manipulation en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by