Rank: 1796 based on 31 downloads (last 30 days) and 5 files submitted
photo

Matt Caywood

E-mail
Company/University
PhD

Personal Profile:
Professional Interests:
data visualization, neuroscience, optimization, simulation, image processing

 

Watch this Author's files

 

Files Posted by Matt View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
25 Oct 2011 Select subplots with mouse, with visual feedback Click the mouse to select (and visibly toggle) multiple subplots. Returns subplot indices. Author: Matt Caywood data exploration, figure, plot, axes, axis, subplot 10 2
08 Mar 2011 Screenshot displaytable Legible display of N-dimensional data tables with color highlighting of entries. Author: Matt Caywood matrix, display, table, ndimensional, array, data 7 3
  • 4.0
4.0 | 2 ratings
05 Aug 2010 Screenshot Elapsed Timer (print elapsed time) Simple, useful utility for printing elapsed time and remaining time in a lengthy loop computation. Author: Matt Caywood timing, timer, stopwatch, clock, performance, wall clock 9 0
05 Aug 2010 Parameter Iterator (paramiterator) Allows complex arbitrarily nested loops to be flattened into a simple single loop. Author: Matt Caywood simulation, control, loop, index, indices, table 1 2
15 May 2009 Screenshot allowaxestogrow With one click, zoom axes for better visibility. Author: Matt Caywood data exploration, figure, plot, axes, axis, subplot 4 10
  • 4.5
4.5 | 6 ratings
Comments and Ratings by Matt View all
Updated File Comments Rating
08 Mar 2011 displaytable Legible display of N-dimensional data tables with color highlighting of entries. Author: Matt Caywood

Hi Ralf, "negative zero" was actually a fundamental issue with Matlab's printf (on some platforms)

I agree it is an annoyance, and have submitted a new version that should fix it.

01 Feb 2011 SCATTERCLOUD Scatterplot over a density cloud. Author: Steve Simon

To fix the glaring centering bug, change these lines from:

xEdges = [xEdges(2) - xDiff,xEdges(2:end-1), xEdges(end-1) + xDiff];
yEdges = [yEdges(2) - yDiff,yEdges(2:end-1), yEdges(end-1) + yDiff];

TO:

xEdges = [xEdges(2) - xDiff,xEdges(2:end-1), xEdges(end-1) + xDiff] + xDiff/2;
yEdges = [yEdges(2) - yDiff,yEdges(2:end-1), yEdges(end-1) + yDiff] + yDiff/2;

In the future, if there's a "simple" fix, why not post it and be helpful?

03 Aug 2010 Parameter Iterator (paramiterator) Allows complex arbitrarily nested loops to be flattened into a simple single loop. Author: Matt Caywood

Good idea, Jan. I've added an example. Hope you find the code useful.

09 Jul 2010 Select subplots with mouse, with visual feedback Click the mouse to select (and visibly toggle) multiple subplots. Returns subplot indices. Author: Matt Caywood

Hi Rebecca, check the documentation for waitfor -- 'ButtonDownFcn' doesn't change, so I don't think you can waitfor it.

You might change TogglePlot so that it would change some property of the figure, something like setappdata(get(src,'Parent'),'Done') then waitfor(fig,'AppData');

I haven't tested this but I expect something like it would work.

13 Nov 2009 allowaxestogrow With one click, zoom axes for better visibility. Author: Matt Caywood

Bass, this is designed to replace the built-in figure zoom/pan tools, which I found slow and inadequate.

I believe the reason it doesn't work with them is that we overlay the original plot with an invisible patch that reliably traps mouse clicks. So you're zooming & panning the invisible patch, not the plot.

If instead you attach the togglesubplot event handler to the original plot, you can use it with the zoom/pan controls -- but then the grow/shrink control won't be very reliable.

Comments and Ratings on Matt's Files View all
Updated File Comment by Comments Rating
08 Mar 2011 displaytable Legible display of N-dimensional data tables with color highlighting of entries. Author: Matt Caywood Caywood, Matt

Hi Ralf, "negative zero" was actually a fundamental issue with Matlab's printf (on some platforms)

I agree it is an annoyance, and have submitted a new version that should fix it.

08 Mar 2011 displaytable Legible display of N-dimensional data tables with color highlighting of entries. Author: Matt Caywood Ralf

I like this function very much. However, it appears that 0 is displayed sometimes as -0. Can this been fixed?

03 Aug 2010 Parameter Iterator (paramiterator) Allows complex arbitrarily nested loops to be flattened into a simple single loop. Author: Matt Caywood Caywood, Matt

Good idea, Jan. I've added an example. Hope you find the code useful.

02 Aug 2010 Parameter Iterator (paramiterator) Allows complex arbitrarily nested loops to be flattened into a simple single loop. Author: Matt Caywood Simon, Jan

It would be helpful to show the example in the description here. Then I do not have to download before I can understand, what the function does.

09 Jul 2010 Select subplots with mouse, with visual feedback Click the mouse to select (and visibly toggle) multiple subplots. Returns subplot indices. Author: Matt Caywood Caywood, Matt

Hi Rebecca, check the documentation for waitfor -- 'ButtonDownFcn' doesn't change, so I don't think you can waitfor it.

You might change TogglePlot so that it would change some property of the figure, something like setappdata(get(src,'Parent'),'Done') then waitfor(fig,'AppData');

I haven't tested this but I expect something like it would work.

Top Tags Applied by Matt
data exploration, axes, axis, figure, loop
Files Tagged by Matt View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
25 Oct 2011 Select subplots with mouse, with visual feedback Click the mouse to select (and visibly toggle) multiple subplots. Returns subplot indices. Author: Matt Caywood data exploration, figure, plot, axes, axis, subplot 10 2
08 Mar 2011 Screenshot displaytable Legible display of N-dimensional data tables with color highlighting of entries. Author: Matt Caywood matrix, display, table, ndimensional, array, data 7 3
  • 4.0
4.0 | 2 ratings
05 Aug 2010 Screenshot Elapsed Timer (print elapsed time) Simple, useful utility for printing elapsed time and remaining time in a lengthy loop computation. Author: Matt Caywood timing, timer, stopwatch, clock, performance, wall clock 9 0
05 Aug 2010 Parameter Iterator (paramiterator) Allows complex arbitrarily nested loops to be flattened into a simple single loop. Author: Matt Caywood simulation, control, loop, index, indices, table 1 2
15 May 2009 Screenshot allowaxestogrow With one click, zoom axes for better visibility. Author: Matt Caywood data exploration, figure, plot, axes, axis, subplot 4 10
  • 4.5
4.5 | 6 ratings

Contact us at files@mathworks.com