Last change
on this file since 339 was
19,
checked in by gostiaux, 15 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 | |
---|
9 | function close_fig(ggg,eventdata,hparent,type) |
---|
10 | if isequal(type,'zoom') |
---|
11 | delete(hparent) % delete the rectangle showing the zoom graph in the parent fig |
---|
12 | end |
---|
Note: See
TracBrowser
for help on using the repository browser.