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 (none), 14 years ago

Added original make3d

File size: 314 bytes
Line 
1function 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
7if nargin < 1
8  h0 = gcf ;
9end
10
11h=zeros(size(h0)) ;
12for i=1:numel(h0)
13  h(i) = copyobj(h0(i),get(h0(i),'Parent')) ;
14end
15
16if nargout < 1
17  clear h ;
18end
Note: See TracBrowser for help on using the repository browser.