Rank: 8031 based on 4 downloads (last 30 days) and 1 file submitted
photo

Ken

E-mail

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Files Posted by Ken
Updated   File Tags Downloads
(last 30 days)
Comments Rating
23 Nov 2010 Screenshot exportplotdata_cmenu Context menu to interactively export plot data to workspace or file Author: Ken export, context menu 4 0
Comments and Ratings by Ken View all
Updated File Comments Rating
13 Apr 2011 GUI Layout Toolbox Layout management objects for MATLAB GUIs Author: Ben Tordoff

Thanks for the quick response Ben. This issue is covered by Bug#260354, so I added feedback on that bug.

12 Apr 2011 GUI Layout Toolbox Layout management objects for MATLAB GUIs Author: Ben Tordoff

Just in case it got lost among the comments above, I want to re-post a bug I encountered with clipping...

Putting an axes object inside a layout box appears to break clipping for rectangles and patches plotted in those axes (but strangely not for lines).

Here's a code snippet that demonstrates the issue...

f=figure;
a=axes('Parent',f);
title('Without GUI Layout Toolbox');
axis(a,[-1 1 -1 1]);
rectangle('Parent',a,'Position',[-2 -0.5 4 1],'FaceColor','r');
patch([0.5 0.5 0.75 0.75],[-2 2 2 -2],'y','Parent',a);
line([-2 2],[-0.5 0.5],'Parent',a);

f=figure;
hbox=uiextras.HBox('Parent',f);
a=axes('Parent',hbox);
title('With GUI Layout Toolbox');
axis(a,[-1 1 -1 1]);
rectangle('Parent',a,'Position',[-2 -0.5 4 1],'FaceColor','r');
patch([0.5 0.5 0.75 0.75],[-2 2 2 -2],'y','Parent',a);
line([-2 2],[-0.5 0.5],'Parent',a);

Ken

19 Nov 2010 GUI Layout Toolbox Layout management objects for MATLAB GUIs Author: Ben Tordoff

Thanks for this great toolbox Ben and David, I've found it very useful.

I think I've discovered a bug. Putting an axes object inside a layout box appears to break clipping for rectangles and patches plotted in those axes (but strangely not for lines).

Here's a code snippet that demonstrates the issue...

f=figure;
a=axes('Parent',f);
title('Without GUI Layout Toolbox');
axis(a,[-1 1 -1 1]);
rectangle('Parent',a,'Position',[-2 -0.5 4 1],'FaceColor','r');
patch([0.5 0.5 0.75 0.75],[-2 2 2 -2],'y','Parent',a);
line([-2 2],[-0.5 0.5],'Parent',a);

f=figure;
hbox=uiextras.HBox('Parent',f);
a=axes('Parent',hbox);
title('With GUI Layout Toolbox');
axis(a,[-1 1 -1 1]);
rectangle('Parent',a,'Position',[-2 -0.5 4 1],'FaceColor','r');
patch([0.5 0.5 0.75 0.75],[-2 2 2 -2],'y','Parent',a);
line([-2 2],[-0.5 0.5],'Parent',a);

Ken

Contact us