function holder(flag);

if nargin == 0

	% Create the Hold Off pushbutton
	HoldOnButton = uicontrol(...
					'Style','Pushbutton',...
					'Position',[0 .07 .1 .05],...
					'Units','normalized',...
					'String','hold off',...
					'Callback','holder(1)');

	% Create the Hold On pushbutton
	HoldOffButton = uicontrol(...
					'Style','Pushbutton',...
					'Position',[0 .12 .1 .05],...
					'Units','normalized',...
					'String','hold on',...
					'Callback','holder(2)');

elseif nargin == 1

	if flag == 1

		hold off
		
	elseif flag == 2

		hold on
		
	end
end
