필터 지우기
필터 지우기

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

조회 수: 9 (최근 30일)
HONGJI KIM
HONGJI KIM 2017년 9월 1일
답변: Olivia Krieger 2018년 11월 21일
%%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 2017년 9월 1일
This sounds more like a Psychtoolbox problem than a MATLAB problem.

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

답변 (2개)

Stalin Samuel
Stalin Samuel 2017년 9월 1일

Olivia Krieger
Olivia Krieger 2018년 11월 21일
Use widths 7 and below.

카테고리

Help CenterFile Exchange에서 Image display and manipulation에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by