cpp-lln-lab / localizer_visual_motion

MIT License
2 stars 9 forks source link

refactor the plot axi functions #68

Open Remi-Gau opened 3 years ago

Remi-Gau commented 3 years ago

https://github.com/cpp-lln-lab/localizer_visual_motion/blob/3d9ebfecb08a117db38ec4ea307d52152c8f36d6/subfun/expDesign.m#L254

marcobarilari commented 2 years ago

now to be fixed in

https://github.com/cpp-lln-lab/localizer_visual_motion/blob/dcb8a6a46bd1d168d24dcaff002c583b5f9a5c4b/subfun/design/diplayDesign.m#L85-L101

suggestion:

[...]
subplot(3, 1, 3);
        hist(itargetPosition);
        labelAxes('Events', 'Number of targets');
        title('Fixation Targets position distribution');
[...]

function labelAxes(inputXLabel, inputYLabel) 
     % an old viking saying because they really cared about their axes 
     ylabel(inputYLabel, 'Fontsize', 8); 
     xlabel(inputXLabel, 'Fontsize', 8); 
 end