How can I change penwidth in 'DrawLine' in Psychtoolbox?
조회 수: 17(최근 30일)
표시 이전 댓글
%%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
답변(2개)
참고 항목
범주
Find more on Image display and manipulation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!