How can I change penwidth in 'DrawLine' in Psychtoolbox?
Ältere Kommentare anzeigen
%%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 Kommentar
Walter Roberson
am 1 Sep. 2017
This sounds more like a Psychtoolbox problem than a MATLAB problem.
Antworten (2)
Stalin Samuel
am 1 Sep. 2017
0 Stimmen
Olivia Krieger
am 21 Nov. 2018
0 Stimmen
Use widths 7 and below.
Kategorien
Mehr zu Image display and manipulation finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!