Skip to content

Instantly share code, notes, and snippets.

@wjhopper
Created February 22, 2015 20:22
Show Gist options
  • Save wjhopper/36fe03874be8a684f3ce to your computer and use it in GitHub Desktop.
Save wjhopper/36fe03874be8a684f3ce to your computer and use it in GitHub Desktop.
drawing for cued recall
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
Copy link

ghost commented Feb 22, 2015

DrawFormattedText

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment