
fig=createmadfig('strands'); 
%LOAD
loadmenu=uimenu('Parent',fig,'Label','&File');
	uimenu('Parent',loadmenu, 'Callback','strands load','Label','load strands ...',...
          'Accelerator','L');
fig=createmadmenus(fig);

% major row & column positions

left=0.1;
top=0.85;
bottom=0.1;
right=0.95;

ud.strandsAxes = ...
 axes('Parent',fig,...
   'Position',[left bottom right-left top-bottom],...
   'Tag','StrandsAxes',...
   'DrawMode','fast',...
   'NextPlot','replacechildren',...
   'Box','on',...
   'ButtonDownFcn','strands playStrands');

ud.status=uicontrol('Parent',fig,...
              'Position',[0.0 0.95 1.0 0.04],...
              'String','NO DATA LOADED YET',...
              'Style','text');
     
ud.toggleAll = ...
   uicontrol('Parent',fig, ...
	'Callback','strands toggleSelect',...
	'Position',[left top+0.02 0.2 0.08], ...
	'String','unselect all', ...
	'Style','pushbutton',...
  'Enable','off');

ud.playOrig = ...
   uicontrol('Parent',fig, ...
	'Callback','strands playOriginal',...
	'Position',[left+0.3 top+0.02 0.2 0.08], ...
	'String','play original', ...
	'Style','pushbutton',...
  'Enable','off');

    xlabel('time')
    ylabel('frequency (ERB-rate)')    	 


                    

set(fig,'UserData',ud); 
 
