source: trunk/src/close_fig.m @ 643

Last change on this file since 643 was 19, checked in by gostiaux, 14 years ago

the private files have been moved down to the root folder

File size: 459 bytes
Line 
1%'close_fig': function  activated when a figure is closed
2%----------------------------------------------------------------
3% function close_fig(ggg,eventdata,hparent,type)
4% activated by the command:
5%set(hObject,'DeleteFcn',{@close_fig,hparent,type})
6% where hObject is the handle of the figure
7%
8
9function close_fig(ggg,eventdata,hparent,type)
10if isequal(type,'zoom')
11    delete(hparent)  % delete the rectangle showing the zoom graph in the parent fig
12end
Note: See TracBrowser for help on using the repository browser.