User Tools

Site Tools


analysis:course-w16:week16

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
analysis:course-w16:week16 [2016/03/01 09:00]
eirvine [Setup and data loading]
analysis:course-w16:week16 [2018/07/07 10:19] (current)
Line 357: Line 357:
 ylabels = {{'​Proportion of';'​SWRs active'​},​{'​Cell pair'; 'joint probability'​},​{'​SWR coactivation';​ '​Z-score'​}};​ ylabels = {{'​Proportion of';'​SWRs active'​},​{'​Cell pair'; 'joint probability'​},​{'​SWR coactivation';​ '​Z-score'​}};​
 arms = {'​L','​R'​};​ arms = {'​L','​R'​};​
 +colors = flipud(linspecer(2));​
 location = [1 2.5]; location = [1 2.5];
  
Line 365: Line 366:
         ​         ​
     h(iP) = subplot(1,​3,​iP);​     h(iP) = subplot(1,​3,​iP);​
-    for iBar = 1:2+    for iBar = 1:length(arms)
     ​     ​
         bar(location(iBar),​p_data(iP,​iBar),'​FaceColor',​colors(iBar,:​),'​EdgeColor','​none'​)         bar(location(iBar),​p_data(iP,​iBar),'​FaceColor',​colors(iBar,:​),'​EdgeColor','​none'​)
analysis/course-w16/week16.txt ยท Last modified: 2018/07/07 10:19 (external edit)