function bf=buttonframe %BUTTONFRAME Inizialize the buttonframe box % % Copyright (c) 1995 by Claudio Rivetti and Mark Young % claudio@alice.uoregon.edu, mark@alice.uoregon.edu % global Uibgcolor Handlefig pos=get(gca, 'position'); pos(1)=pos(1)+pos(3)+0.01; pos(3)=1-pos(1); bf = uicontrol(Handlefig, 'Style', 'frame', ... 'Units', 'Normalized',... 'Position',pos,... 'visible', 'off',... 'BackgroundColor', Uibgcolor); return