MATLAB Answers

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

조회 수: 11(최근 30일)
HONGJI KIM
HONGJI KIM 1 Sep 2017
답변: Olivia Krieger 21 Nov 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

Walter Roberson
Walter Roberson 1 Sep 2017
This sounds more like a Psychtoolbox problem than a MATLAB problem.

댓글을 달려면 로그인하십시오.

답변(2개)


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

  댓글 수: 0

댓글을 달려면 로그인하십시오.


Translated by