image thumbnail

eogui – a software to analyze electro-oculogram (EOG) recordings

by

 

10 Aug 2011 (Updated )

detects blinks and saccadic eye movements in EOG recordings

setminwinhigh.m
function setminwinhigh(ampl)
% $Id: setminwinhigh.m 6 2004-12-13 12:28:39Z maik $
% stellt eine mindest Fensterhhe ein

d=get(gca,'YLim');
if(d(2)-d(1) < ampl)
   hdiff= fix((ampl-(d(2)-d(1))) /2);  
   set(gca,'YLim',[d(1)-hdiff d(2)+hdiff]);    
end

Contact us