MATLAB Answers

0

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

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

This sounds more like a Psychtoolbox problem than a MATLAB problem.

로그인 to comment.

답변 수: 2

Stalin Samuel 님의 답변 1 Sep 2017

  댓글 수: 0

로그인 to comment.



Use widths 7 and below.

  댓글 수: 0

로그인 to comment.



Translated by