{"action":"created","comment":{"url":"https://api.github.com/repos/guruucsd/DifferentialEncoding/pulls/comments/46695515","id":46695515,"diff_hunk":"@@ -4,30 +4,47 @@\n % 2) Implement code that generalizes based on the task (blob/dot vs paired\n % squares etc)\n \n-ds = 'test';\n-taskTitle = guru_capitalizeStr(mSets.data.taskType);\n-\n-\n-left = stats.rej.cc.perf.(ds){1};\n-right = stats.rej.cc.perf.(ds){end};\n-rons = mSets.runs;\n-% these results are for the first trial type, i.e. one of {on, near, same}\n-left_results1 = left{1};\n-right_results1 = right{1};\n-\n-% these results are for the second trial type, i.e. one of {off, near, different}\n-left_results2 = left{2};\n-right_results2 = right{2};\n-\n-% combine them into a single results matrix\n-left_results = [left_results1, left_results2];\n-right_results = [right_results1, right_results2];\n-\n-left_average = mean(left_results(:)');\n-right_average = mean(right_results(:)');\n-\n-left_stderr = std(mean(left_results, 2)) / sqrt(size(left_results, 1));\n-right_stderr = std(mean(right_results, 2)) / sqrt(size(right_results, 1));\n-\n-fig = de_CreateSlotnickFigure1([left_average right_average], [left_stderr right_stderr], taskTitle, mSets.data.stimSet, rons);\n-figs = [fig];\n+    ds = 'test';\n+\n+    right = stats.rej.cc.perf.(ds){1};\n+    left = stats.rej.cc.perf.(ds){end};\n+    rons = mSets.runs;\n+\n+    figs = de_NewFig(mSets.data.taskType);\n+\n+    n_trial_types = length(left);\n+    n_plots = n_trial_types + 1;  % plot for each trial type, plus combined\n+    for pi=1:n_plots\n+        ax = subplot(1, n_plots, pi);\n+\n+        if pi == 1","path":"code/_expts/slotnick_etal_2001/analyze/plots/de_FigurizerCC.m","position":44,"original_position":44,"commit_id":"70217afbd8019acbb5ba5fd06b0b957642de380a","original_commit_id":"70217afbd8019acbb5ba5fd06b0b957642de380a","user":{"login":"bcipolli","id":4072455,"avatar_url":"https://avatars.githubusercontent.com/u/4072455?v=3","gravatar_id":"","url":"https://api.github.com/users/bcipolli","html_url":"https://github.com/bcipolli","followers_url":"https://api.github.com/users/bcipolli/followers","following_url":"https://api.github.com/users/bcipolli/following{/other_user}","gists_url":"https://api.github.com/users/bcipolli/gists{/gist_id}","starred_url":"https://api.github.com/users/bcipolli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcipolli/subscriptions","organizations_url":"https://api.github.com/users/bcipolli/orgs","repos_url":"https://api.github.com/users/bcipolli/repos","events_url":"https://api.github.com/users/bcipolli/events{/privacy}","received_events_url":"https://api.github.com/users/bcipolli/received_events","type":"User","site_admin":false},"body":"First plot is the combined `easy` and `hard`.","created_at":"2015-12-04T15:49:26Z","updated_at":"2015-12-04T15:49:26Z","html_url":"https://github.com/guruucsd/DifferentialEncoding/pull/49#discussion_r46695515","pull_request_url":"https://api.github.com/repos/guruucsd/DifferentialEncoding/pulls/49","_links":{"self":{"href":"https://api.github.com/repos/guruucsd/DifferentialEncoding/pulls/comments/46695515"},"html":{"href":"https://github.com/guruucsd/DifferentialEncoding/pull/49#discussion_r46695515"},"pull_request":{"href":"https://api.github.com/repos/guruucsd/DifferentialEncoding/pulls/49"}}},"pull_request":{"url":"https://api.github.com/repos/guruucsd/DifferentialEncoding/pulls/49","id":52571510,"html_url":"https://github.com/guruucsd/DifferentialEncoding/pull/49","diff_url":"https://github.com/guruucsd/DifferentialEncoding/pull/49.diff","patch_url":"https://github.com/guruucsd/DifferentialEncoding/pull/49.patch","issue_url":"https://api.github.com/repos/guruucsd/DifferentialEncoding/issues/49","number":49,"state":"open","locked":false,"title":"Vss 2016","user":{"login":"bcipolli","id":4072455,"avatar_url":"https://avatars.githubusercontent.com/u/4072455?v=3","gravatar_id":"","url":"https://api.github.com/users/bcipolli","html_url":"https://github.com/bcipolli","followers_url":"https://api.github.com/users/bcipolli/followers","following_url":"https://api.github.com/users/bcipolli/following{/other_user}","gists_url":"https://api.github.com/users/bcipolli/gists{/gist_id}","starred_url":"https://api.github.com/users/bcipolli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcipolli/subscriptions","organizations_url":"https://api.github.com/users/bcipolli/orgs","repos_url":"https://api.github.com/users/bcipolli/repos","events_url":"https://api.github.com/users/bcipolli/events{/privacy}","received_events_url":"https://api.github.com/users/bcipolli/received_events","type":"User","site_admin":false},"body":"Branch for doing categorical/coordinate studies in slotnick et al., ","created_at":"2015-12-03T18:18:10Z","updated_at":"2015-12-04T15:49:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"481d3711e3211e9137e840e94c1688e409792248","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/guruucsd/DifferentialEncoding/pulls/49/commits","review_comments_url":"https://api.github.com/repos/guruucsd/DifferentialEncoding/pulls/49/comments","review_comment_url":"https://api.github.com/repos/guruucsd/DifferentialEncoding/pulls/comments{/number}","comments_url":"https://api.github.com/repos/guruucsd/DifferentialEncoding/issues/49/comments","statuses_url":"https://api.github.com/repos/guruucsd/DifferentialEncoding/statuses/70217afbd8019acbb5ba5fd06b0b957642de380a","head":{"label":"bcipolli:vss-2016","ref":"vss-2016","sha":"70217afbd8019acbb5ba5fd06b0b957642de380a","user":{"login":"bcipolli","id":4072455,"avatar_url":"https://avatars.githubusercontent.com/u/4072455?v=3","gravatar_id":"","url":"https://api.github.com/users/bcipolli","html_url":"https://github.com/bcipolli","followers_url":"https://api.github.com/users/bcipolli/followers","following_url":"https://api.github.com/users/bcipolli/following{/other_user}","gists_url":"https://api.github.com/users/bcipolli/gists{/gist_id}","starred_url":"https://api.github.com/users/bcipolli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcipolli/subscriptions","organizations_url":"https://api.github.com/users/bcipolli/orgs","repos_url":"https://api.github.com/users/bcipolli/repos","events_url":"https://api.github.com/users/bcipolli/events{/privacy}","received_events_url":"https://api.github.com/users/bcipolli/received_events","type":"User","site_admin":false},"repo":{"id":30213153,"name":"DifferentialEncoding","full_name":"bcipolli/DifferentialEncoding","owner":{"login":"bcipolli","id":4072455,"avatar_url":"https://avatars.githubusercontent.com/u/4072455?v=3","gravatar_id":"","url":"https://api.github.com/users/bcipolli","html_url":"https://github.com/bcipolli","followers_url":"https://api.github.com/users/bcipolli/followers","following_url":"https://api.github.com/users/bcipolli/following{/other_user}","gists_url":"https://api.github.com/users/bcipolli/gists{/gist_id}","starred_url":"https://api.github.com/users/bcipolli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcipolli/subscriptions","organizations_url":"https://api.github.com/users/bcipolli/orgs","repos_url":"https://api.github.com/users/bcipolli/repos","events_url":"https://api.github.com/users/bcipolli/events{/privacy}","received_events_url":"https://api.github.com/users/bcipolli/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bcipolli/DifferentialEncoding","description":"Differential Encoding model","fork":true,"url":"https://api.github.com/repos/bcipolli/DifferentialEncoding","forks_url":"https://api.github.com/repos/bcipolli/DifferentialEncoding/forks","keys_url":"https://api.github.com/repos/bcipolli/DifferentialEncoding/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bcipolli/DifferentialEncoding/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bcipolli/DifferentialEncoding/teams","hooks_url":"https://api.github.com/repos/bcipolli/DifferentialEncoding/hooks","issue_events_url":"https://api.github.com/repos/bcipolli/DifferentialEncoding/issues/events{/number}","events_url":"https://api.github.com/repos/bcipolli/DifferentialEncoding/events","assignees_url":"https://api.github.com/repos/bcipolli/DifferentialEncoding/assignees{/user}","branches_url":"https://api.github.com/repos/bcipolli/DifferentialEncoding/branches{/branch}","tags_url":"https://api.github.com/repos/bcipolli/DifferentialEncoding/tags","blobs_url":"https://api.github.com/repos/bcipolli/DifferentialEncoding/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bcipolli/DifferentialEncoding/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bcipolli/DifferentialEncoding/git/refs{/sha}","trees_url":"https://api.github.com/repos/bcipolli/DifferentialEncoding/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bcipolli/DifferentialEncoding/statuses/{sha}","languages_url":"https://api.github.com/repos/bcipolli/DifferentialEncoding/languages","stargazers_url":"https://api.github.com/repos/bcipolli/DifferentialEncoding/stargazers","contributors_url":"https://api.github.com/repos/bcipolli/DifferentialEncoding/contributors","subscribers_url":"https://api.github.com/repos/bcipolli/DifferentialEncoding/subscribers","subscription_url":"https://api.github.com/repos/bcipolli/DifferentialEncoding/subscription","commits_url":"https://api.github.com/repos/bcipolli/DifferentialEncoding/commits{/sha}","git_commits_url":"https://api.github.com/repos/bcipolli/DifferentialEncoding/git/commits{/sha}","comments_url":"https://api.github.com/repos/bcipolli/DifferentialEncoding/comments{/number}","issue_comment_url":"https://api.github.com/repos/bcipolli/DifferentialEncoding/issues/comments{/number}","contents_url":"https://api.github.com/repos/bcipolli/DifferentialEncoding/contents/{+path}","compare_url":"https://api.github.com/repos/bcipolli/DifferentialEncoding/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bcipolli/DifferentialEncoding/merges","archive_url":"https://api.github.com/repos/bcipolli/DifferentialEncoding/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bcipolli/DifferentialEncoding/downloads","issues_url":"https://api.github.com/repos/bcipolli/DifferentialEncoding/issues{/number}","pulls_url":"https://api.github.com/repos/bcipolli/DifferentialEncoding/pulls{/number}","milestones_url":"https://api.github.com/repos/bcipolli/DifferentialEncoding/milestones{/number}","notifications_url":"https://api.github.com/repos/bcipolli/DifferentialEncoding/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bcipolli/DifferentialEncoding/labels{/name}","releases_url":"https://api.github.com/repos/bcipolli/DifferentialEncoding/releases{/id}","created_at":"2015-02-02T22:54:05Z","updated_at":"2015-04-28T21:04:52Z","pushed_at":"2015-12-04T15:46:00Z","git_url":"git://github.com/bcipolli/DifferentialEncoding.git","ssh_url":"git@github.com:bcipolli/DifferentialEncoding.git","clone_url":"https://github.com/bcipolli/DifferentialEncoding.git","svn_url":"https://github.com/bcipolli/DifferentialEncoding","homepage":null,"size":8733,"stargazers_count":0,"watchers_count":0,"language":"Matlab","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"guruucsd:master","ref":"master","sha":"d54f5b191695f3aa73774eff89006eeea4bc0281","user":{"login":"guruucsd","id":4514177,"avatar_url":"https://avatars.githubusercontent.com/u/4514177?v=3","gravatar_id":"","url":"https://api.github.com/users/guruucsd","html_url":"https://github.com/guruucsd","followers_url":"https://api.github.com/users/guruucsd/followers","following_url":"https://api.github.com/users/guruucsd/following{/other_user}","gists_url":"https://api.github.com/users/guruucsd/gists{/gist_id}","starred_url":"https://api.github.com/users/guruucsd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guruucsd/subscriptions","organizations_url":"https://api.github.com/users/guruucsd/orgs","repos_url":"https://api.github.com/users/guruucsd/repos","events_url":"https://api.github.com/users/guruucsd/events{/privacy}","received_events_url":"https://api.github.com/users/guruucsd/received_events","type":"Organization","site_admin":false},"repo":{"id":16579168,"name":"DifferentialEncoding","full_name":"guruucsd/DifferentialEncoding","owner":{"login":"guruucsd","id":4514177,"avatar_url":"https://avatars.githubusercontent.com/u/4514177?v=3","gravatar_id":"","url":"https://api.github.com/users/guruucsd","html_url":"https://github.com/guruucsd","followers_url":"https://api.github.com/users/guruucsd/followers","following_url":"https://api.github.com/users/guruucsd/following{/other_user}","gists_url":"https://api.github.com/users/guruucsd/gists{/gist_id}","starred_url":"https://api.github.com/users/guruucsd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guruucsd/subscriptions","organizations_url":"https://api.github.com/users/guruucsd/orgs","repos_url":"https://api.github.com/users/guruucsd/repos","events_url":"https://api.github.com/users/guruucsd/events{/privacy}","received_events_url":"https://api.github.com/users/guruucsd/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/guruucsd/DifferentialEncoding","description":"Differential Encoding model","fork":false,"url":"https://api.github.com/repos/guruucsd/DifferentialEncoding","forks_url":"https://api.github.com/repos/guruucsd/DifferentialEncoding/forks","keys_url":"https://api.github.com/repos/guruucsd/DifferentialEncoding/keys{/key_id}","collaborators_url":"https://api.github.com/repos/guruucsd/DifferentialEncoding/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/guruucsd/DifferentialEncoding/teams","hooks_url":"https://api.github.com/repos/guruucsd/DifferentialEncoding/hooks","issue_events_url":"https://api.github.com/repos/guruucsd/DifferentialEncoding/issues/events{/number}","events_url":"https://api.github.com/repos/guruucsd/DifferentialEncoding/events","assignees_url":"https://api.github.com/repos/guruucsd/DifferentialEncoding/assignees{/user}","branches_url":"https://api.github.com/repos/guruucsd/DifferentialEncoding/branches{/branch}","tags_url":"https://api.github.com/repos/guruucsd/DifferentialEncoding/tags","blobs_url":"https://api.github.com/repos/guruucsd/DifferentialEncoding/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/guruucsd/DifferentialEncoding/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/guruucsd/DifferentialEncoding/git/refs{/sha}","trees_url":"https://api.github.com/repos/guruucsd/DifferentialEncoding/git/trees{/sha}","statuses_url":"https://api.github.com/repos/guruucsd/DifferentialEncoding/statuses/{sha}","languages_url":"https://api.github.com/repos/guruucsd/DifferentialEncoding/languages","stargazers_url":"https://api.github.com/repos/guruucsd/DifferentialEncoding/stargazers","contributors_url":"https://api.github.com/repos/guruucsd/DifferentialEncoding/contributors","subscribers_url":"https://api.github.com/repos/guruucsd/DifferentialEncoding/subscribers","subscription_url":"https://api.github.com/repos/guruucsd/DifferentialEncoding/subscription","commits_url":"https://api.github.com/repos/guruucsd/DifferentialEncoding/commits{/sha}","git_commits_url":"https://api.github.com/repos/guruucsd/DifferentialEncoding/git/commits{/sha}","comments_url":"https://api.github.com/repos/guruucsd/DifferentialEncoding/comments{/number}","issue_comment_url":"https://api.github.com/repos/guruucsd/DifferentialEncoding/issues/comments{/number}","contents_url":"https://api.github.com/repos/guruucsd/DifferentialEncoding/contents/{+path}","compare_url":"https://api.github.com/repos/guruucsd/DifferentialEncoding/compare/{base}...{head}","merges_url":"https://api.github.com/repos/guruucsd/DifferentialEncoding/merges","archive_url":"https://api.github.com/repos/guruucsd/DifferentialEncoding/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/guruucsd/DifferentialEncoding/downloads","issues_url":"https://api.github.com/repos/guruucsd/DifferentialEncoding/issues{/number}","pulls_url":"https://api.github.com/repos/guruucsd/DifferentialEncoding/pulls{/number}","milestones_url":"https://api.github.com/repos/guruucsd/DifferentialEncoding/milestones{/number}","notifications_url":"https://api.github.com/repos/guruucsd/DifferentialEncoding/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/guruucsd/DifferentialEncoding/labels{/name}","releases_url":"https://api.github.com/repos/guruucsd/DifferentialEncoding/releases{/id}","created_at":"2014-02-06T12:51:00Z","updated_at":"2015-02-05T18:50:19Z","pushed_at":"2015-12-04T15:46:01Z","git_url":"git://github.com/guruucsd/DifferentialEncoding.git","ssh_url":"git@github.com:guruucsd/DifferentialEncoding.git","clone_url":"https://github.com/guruucsd/DifferentialEncoding.git","svn_url":"https://github.com/guruucsd/DifferentialEncoding","homepage":null,"size":256861,"stargazers_count":1,"watchers_count":1,"language":"Matlab","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":21,"forks":3,"open_issues":21,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/guruucsd/DifferentialEncoding/pulls/49"},"html":{"href":"https://github.com/guruucsd/DifferentialEncoding/pull/49"},"issue":{"href":"https://api.github.com/repos/guruucsd/DifferentialEncoding/issues/49"},"comments":{"href":"https://api.github.com/repos/guruucsd/DifferentialEncoding/issues/49/comments"},"review_comments":{"href":"https://api.github.com/repos/guruucsd/DifferentialEncoding/pulls/49/comments"},"review_comment":{"href":"https://api.github.com/repos/guruucsd/DifferentialEncoding/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/guruucsd/DifferentialEncoding/pulls/49/commits"},"statuses":{"href":"https://api.github.com/repos/guruucsd/DifferentialEncoding/statuses/70217afbd8019acbb5ba5fd06b0b957642de380a"}}}}