fig=createmadfig('streamer'); 


cyclesmenu = uimenu('Parent',fig, 'Label','&Cycles', 'Accelerator','C');
for i=[1:10 15 20 30 50]
      uimenu('Parent',cyclesmenu,'Label',num2str(i),...
             'Callback','streamer numCyclesChanged','Tag','cyclesmenu');
end
fig=createmadmenus(fig);

% major row & column positions

left=0.2;
top=0.85;
bottom=0.2;
right=0.9;

ud.testAxes = ...
 axes('Parent',fig,...
   'Position',[left bottom right-left top-bottom],...
   'Tag','TestAxes',...
   'DrawMode','fast',...
   'NextPlot','replacechildren',...
   'Box','on',...
   'ButtonDownFcn','streamer generate',...
   'XLim', [0 200],...
   'YLim', [0 15],...
   'XGrid','on',...
   'YGrid','on');
 
xlabel('Tone repetition time (TRT) in ms');
ylabel('Frequency separation in semitones');
title('click in the grid to hear a sequence at specified sep/TRT');


uicontrol('Parent',fig, 'Position',[left 0.05 0.5 0.05], ...
     'Style', 'checkbox',...
	   'String', 'show van Noorden data',...
	   'Value',0,...
	   'Callback','streamer showexpt');
	   
