Rank: 3191 based on 17 downloads (last 30 days) and 2 files submitted
photo

LY Cao

E-mail

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Files Posted by LY View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
19 Feb 2013 Screenshot Rose Model two example that generate a 3D rose. Author: LY Cao 3d, graphics, surface, model, rose 14 0
18 Oct 2012 Screenshot magnify 2D Easily create magnifier axis with cliking,dragging and scrolling Author: LY Cao magnify magnifier axi... 3 0
Comments and Ratings by LY
Updated File Comments Rating
25 Feb 2013 export_fig Exports figures nicely to a number of vector & bitmap formats. Author: Oliver Woodford

great work!
but I found something wrong:
scatter(rand(10,1),rand(10,1),50);
export_fig('1.png',gca)
and the axes in 1.png is empty.
the matlab function allchild can't find the children of a handle whose type is 'hggroup'(e.g. scatter hggroup).
I modified the allchildren function in isolate_axes.m:
function ah = allchildren(ah)
ah = allchild(ah);
if iscell(ah)
ah = cell2mat(ah);
end
ah = ah(:);
for i = 1:numel(ah)
if strcmp(get(ah(i),'type'),'hggroup')
t =allchildren(ah(i));
ah(end+1:end+numel(t)) = t;
end
end
return
and it worked.

Top Tags Applied by LY
3d, graphics, magnify magnifier axis plot, model, rose
Files Tagged by LY View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
19 Feb 2013 Screenshot Rose Model two example that generate a 3D rose. Author: LY Cao 3d, graphics, surface, model, rose 14 0
18 Oct 2012 Screenshot magnify 2D Easily create magnifier axis with cliking,dragging and scrolling Author: LY Cao magnify magnifier axi... 3 0

Contact us