source:
proiecte/pmake3d/make3d_original/Make3dSingleImageStanford_version0.1/third_party/vlutil/toolbox/cf.m
@
37
Last change on this file since 37 was 37, checked in by , 14 years ago | |
---|---|
File size: 314 bytes |
Line | |
---|---|
1 | function h=cf(h0) ; |
2 | % CF Copy figure |
3 | % H=CF() creates a duplicate of the current figure. |
4 | % |
5 | % H=CF(H0) creates a duplicate of the figure whose handle is H0. |
6 | |
7 | if nargin < 1 |
8 | h0 = gcf ; |
9 | end |
10 | |
11 | h=zeros(size(h0)) ; |
12 | for i=1:numel(h0) |
13 | h(i) = copyobj(h0(i),get(h0(i),'Parent')) ; |
14 | end |
15 | |
16 | if nargout < 1 |
17 | clear h ; |
18 | end |
Note: See TracBrowser
for help on using the repository browser.