Home > data-vis > master_vis_hist.m

master_vis_hist

PURPOSE ^

SYNOPSIS ^

function master_vis_hist(subexpIDs, option)

DESCRIPTION ^

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function master_vis_hist(subexpIDs, option)
0002 
0003 directory = fullfile(get_multidir_root, 'data_vis_new', 'vis_hist');
0004 
0005 switch option
0006     case 1
0007         subs = cIDs(subexpIDs);
0008         varnames = {
0009             'cevent_eye_roi_child'
0010             'cevent_eye_roi_parent'
0011             'cevent_eye_joint-attend_both'
0012             'cevent_eye_roi_sustained-1s_child'
0013             'cevent_eye_roi_sustained-3s_child'
0014             'cevent_inhand_child'
0015             'cevent_inhand_parent'
0016             'cevent_vision_size_obj-dominant_child'
0017             'cevent_vision_size_obj-dominant_parent'
0018             };
0019         
0020         edges = 0:.25:10;
0021         flag_savefig = 1;
0022         for v = 1:numel(varnames)
0023             varname = varnames{v};
0024             vis_hist(subs, varname, edges, directory, varname, flag_savefig);
0025         end
0026         
0027     case 2
0028         subs = cIDs({subexpIDs, 12});
0029         varnames = {
0030             'cont_motion_pos-speed_right-hand_child'
0031             'cont_motion_pos-speed_left-hand_child'
0032             'cont_motion_pos-speed_right-hand_parnet'
0033             'cont_motion_pos-speed_left-hand_parent'};
0034         edges = 0:50:500;
0035         flag_savefig = 1;
0036         for v = 1:numel(varnames)
0037             varname = varnames{v};
0038             vis_hist(subs, varname, edges, directory, varname, flag_savefig);
0039         end
0040         
0041         
0042     case 3
0043         subs = cIDs({subexpIDs, 12});
0044         varnames = {
0045             'cont_motion_rot-speed_head_child'
0046             'cont_motion_rot-speed_head_parent'
0047             };
0048         edges = 0:25:255;
0049         flag_savefig = 1;
0050         for v = 1:numel(varnames)
0051             varname = varnames{v};
0052             vis_hist(subs, varname, edges, directory, varname, flag_savefig);
0053         end
0054         
0055     case 4
0056         subs = cIDs({subexpIDs, 12});
0057         varnames = {
0058             'cont_vision_size_obj1_child'
0059             'cont_vision_size_obj1_parent'};
0060         edges = 0:1:10;
0061         flag_savefig = 1;
0062         for v = 1:numel(varnames)
0063             varname = varnames{v};
0064             vis_hist(subs, varname, edges, directory, varname, flag_savefig);
0065         end
0066         
0067 end

Generated on Tue 23-May-2017 20:00:55 by m2html © 2005