Created
February 22, 2015 20:22
-
-
Save wjhopper/36fe03874be8a684f3ce to your computer and use it in GitHub Desktop.
drawing for cued recall
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function onset = draw(cue,msg,string,drawExtra) | |
drawExtra(params{:}) | |
DrawFormattedText(windowPtr,cue,'right', 'center',[],[],[],[],[],[],left-[0 0 spacing 0]); | |
DrawFormattedText(windowPtr,msg, 'center','center'); | |
DrawFormattedText(windowPtr,string,right(1)+spacing, 'center'); | |
[~, onset] = Screen('Flip', windowPtr); | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
DrawFormattedText