Rank: 13 based on 1255 downloads (last 30 days) and 11 files submitted
photo

Ben Tordoff

E-mail
Company/University
MathWorks
Lat/Long
52.22944259643555, 0.153099998831749

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Files Posted by Ben View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
27 Jun 2013 Screenshot Multi progress bar A new "shiny" progress-bar with multiple bars in a single window, time-estimates and more. Author: Ben Tordoff gui, progress bar, waitbar 102 35
  • 4.91667
4.9 | 25 ratings
08 May 2013 Screenshot GPUBench Compare GPUs using standard numerical benchmarks in MATLAB. Author: Ben Tordoff gpu, performance, benchmark, bench, utilities, timing 138 10
  • 4.75
4.8 | 4 ratings
26 Apr 2013 Screenshot GUI Layout Toolbox Layout management objects for MATLAB GUIs Author: Ben Tordoff gui, boxlayout, pick of the week, java, gridlayout, layout 357 202
  • 4.91176
4.9 | 81 ratings
28 Mar 2013 Screenshot Rotate X-axis tick labels Rotate x-tick labels to any angle, preserving font settings and coping with resize, zoom, pan etc Author: Ben Tordoff plotting, xtick 325 35
  • 4.64706
4.6 | 18 ratings
01 Nov 2012 Screenshot A GPU Mandelbrot Set Explore the Mandelbrot Set using MATLAB and a GPU. Author: Ben Tordoff gpu, fractal, graphics 53 0
  • 5.0
5.0 | 1 rating
Comments and Ratings by Ben View all
Updated File Comments Rating
30 Jul 2013 GUI Layout Toolbox Layout management objects for MATLAB GUIs Author: Ben Tordoff

Hi Sven. I am impressed at your attention to detail!

We used to allow "merging" of grid elements in a previous iteration of this tool. However the API for it was terrible. We have never been back to try and come up with a good API, but maybe we should?

Ben

09 May 2013 GPUBench Compare GPUs using standard numerical benchmarks in MATLAB. Author: Ben Tordoff

Hi Andrei,

yes, you can do this with the tool as it is, although it isn't that easy. I will look at adding a more convenient way later.

1. Remove the data-file for the release you are using (so data/R2013a.mat if using the latest release).
2. Capture and store the results from each machine/GPU you are interested in:

>> data = gpuBench();
>> gpubench.saveResults(data);

This will build up a new data-file specific to your machines and the MATLAB release being used. Let me know if this doesn't work for you or you have suggestions as to how to make this more convenient.

Cheers
Ben

29 Apr 2013 GUI Layout Toolbox Layout management objects for MATLAB GUIs Author: Ben Tordoff

Hi Yannick. This is easy enough to do. I'll make sure it's in the next update. If you would like to test it before then, email me using the author link above and I'll send you a patch.

26 Apr 2013 GUI Layout Toolbox Layout management objects for MATLAB GUIs Author: Ben Tordoff

Hi Yannick, thanks for that fix – I'll make sure it's updated in the next version.

There isn't a definitive list of the default properties, I'm afraid. PanelBox will take notice of the default title colour, but that's about all.

Which border was it you wanted to remove, the one around the title, the one around the contents, or both?

19 Mar 2013 GUI Layout Toolbox Layout management objects for MATLAB GUIs Author: Ben Tordoff

Hi Dani, this is related to the legend problems we have already fixed. I have a fix for this too, but it isn't quite ready for release yet. Watch this space...

Comments and Ratings on Ben's Files View all
Updated File Comment by Comments Rating
31 Jul 2013 GUI Layout Toolbox Layout management objects for MATLAB GUIs Author: Ben Tordoff mazer, jamie

Hate to follow up to my own post, but for the record, this doesn't appear to be a subplot issue -- this version that uses uiExtras.Grid does something similar. It's tweaked a bit to really emphasize the proble (nothing's ever plotted in the right hand grid box, but it still accumulates all the plot points:

clist = 'rgbmy';
tabpanel = uiextras.TabPanel('Parent', gcf);
for n=1:4
uip = uiextras.Grid('Parent', tabpanel);
axes('Parent',uip);
x = 1:2; y = x+n;
set(plot(x, y, '-o'), 'markerfacecolor', clist(n));
yrange(0,10);
axes('Parent',uip);
end
tabpanel.SelectedChild = 1;

On the up side, I guess I could include a dummy plot to suck up all the error's leaving the n-1 subplots correct :-)

31 Jul 2013 GUI Layout Toolbox Layout management objects for MATLAB GUIs Author: Ben Tordoff mazer, jamie

Quick question -- is it ok to mix uiextras and subplot? At first it looks kosher, but here's a short code frag that breaks things:

tabpanel = uiextras.TabPanel('Parent', gcf);
for n=1:4
uip = uipanel('Parent', tabpanel);
subplot(1,1,1, 'Parent', uip)
x = 1:2; y = rand(size(x));
plot(x, y, '-o');
end
tabpanel.SelectedChild = 1;

This makes some tabs, each with one plot. 1st tab accumulates all 4 plots, 2nd second tab last 3, etc. I suspect the answer is: don't mix subplot and uiextras, but there's not explicit about that in the docs. Switching to subplots to grids would mean a lot of recoding, so I figured it would be good to know if this is a bug or feature before I decide if it's worth it (FYI - this doesn't happen with hist!).

30 Jul 2013 GUI Layout Toolbox Layout management objects for MATLAB GUIs Author: Ben Tordoff Marc

@sven & Ben: thats funny, i Run into exactly the same Question today (also because of your icon and thinking about subplot) with my current Project. I can only encourage you to Try and reimplement the "span multiple Grid " Issue. I think it can be Handy for a Lot of practical GUI Applications Or Layouts. Anyway Thanks for your Great work in Thuns toolbox!

30 Jul 2013 GUI Layout Toolbox Layout management objects for MATLAB GUIs Author: Ben Tordoff Sven

@Ben: Thanks for the clarification. The ability to span multiple grid entries would be quite useful. The syntax to define it on the other hand... I agree - messy. I've never quite felt comfortable with the Grid.Children usage (like rearranging children into a specific order different to columns-first-left-to-right). I'd welcome a revisit and would be happy to give feedback.

30 Jul 2013 GUI Layout Toolbox Layout management objects for MATLAB GUIs Author: Ben Tordoff Sven

@Beat:

I think that you've hit a missing functionality with Container.getpixelposition. It hasn't yet got a recursive implementation (whereas regular MATLAB ui components do, and some java components call the recursive version). You can possibly get by by replacing that function with what I've got below but I've still had an issue or two. Ben, David - does this seem reasonable?

function pos = getpixelposition( obj, recursive )
%getpixelposition get the absolute pixel position
%
% POS = GETPIXELPOSITION(C) gets the absolute position of the container C
% within its parent window. The returned position is in pixels.
pos = getpixelposition( obj.UIContainer );

if nargin<2
recursive = false;
end
if recursive && ~ishghandle(obj.Parent,'figure')
parentPos = getpixelposition(obj.Parent, recursive);
pos = pos + [parentPos(1) parentPos(2) 0 0] - [1 1 0 0];
end
end % getpixelposition

Top Tags Applied by Ben
gui, gpu, graphics, fractal, plotting
Files Tagged by Ben View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
27 Jun 2013 Screenshot Multi progress bar A new "shiny" progress-bar with multiple bars in a single window, time-estimates and more. Author: Ben Tordoff gui, progress bar, waitbar 102 35
  • 4.91667
4.9 | 25 ratings
08 May 2013 Screenshot GPUBench Compare GPUs using standard numerical benchmarks in MATLAB. Author: Ben Tordoff gpu, performance, benchmark, bench, utilities, timing 138 10
  • 4.75
4.8 | 4 ratings
26 Apr 2013 Screenshot GUI Layout Toolbox Layout management objects for MATLAB GUIs Author: Ben Tordoff gui, boxlayout, pick of the week, java, gridlayout, layout 357 202
  • 4.91176
4.9 | 81 ratings
28 Mar 2013 Screenshot Rotate X-axis tick labels Rotate x-tick labels to any angle, preserving font settings and coping with resize, zoom, pan etc Author: Ben Tordoff plotting, xtick 325 35
  • 4.64706
4.6 | 18 ratings
01 Nov 2012 Screenshot A GPU Mandelbrot Set Explore the Mandelbrot Set using MATLAB and a GPU. Author: Ben Tordoff gpu, fractal, graphics 53 0
  • 5.0
5.0 | 1 rating

Contact us