gui_erp_plot - eeg_toolbox plot for ERP data [p] = erp_plot(p) creates a GUI interface for ERP measurement and topographic mapping functions.
0001 function[p] = gui_erp_plot(p) 0002 0003 % gui_erp_plot - eeg_toolbox plot for ERP data 0004 % 0005 %[p] = erp_plot(p) 0006 % 0007 % creates a GUI interface for ERP measurement and 0008 % topographic mapping functions. 0009 % 0010 0011 % $Revision: 1.1 $ $Date: 2004/11/12 01:32:34 $ 0012 0013 % Licence: GNU GPL, no express or implied warranties 0014 % History: 10/2003, Darren.Weber_at_radiology.ucsf.edu 0015 % 0016 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 0017 0018 0019 plotfig = figure('Name',p.volt.file,... 0020 'NumberTitle','off',... 0021 'UserData',p); 0022 0023 movegui(plotfig,'center'); 0024 0025 plot(p.volt.timeArray,p.volt.data); 0026 axis tight; 0027 eeg_plot_metric; 0028 0029 [Xpoint,Ypoint] = eeg_crosshair('init',p); 0030 0031 return