Rank: 29 based on 738 downloads (last 30 days) and 16 files submitted
photo

Kelly Kearney

E-mail
Company/University
University of Miami/NOAA AOML

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Files Posted by Kelly View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
11 Jul 2013 aggregate.m Group (and apply functions to) values in one matrix based on grouping variables in another Author: Kelly Kearney accumarray, aggregate, group 10 0
08 Jul 2013 Screenshot Color Palette Tables (.cpt) for Matlab Create and apply GMT-style colormaps in Matlab Author: Kelly Kearney color, gradient, colormap, color palette table 101 13
  • 5.0
5.0 | 6 ratings
11 Apr 2013 Screenshot legendflex: a more flexible legend Create a legend with more flexible positioning and labeling capabilities Author: Kelly Kearney legend, label, potw, pick of the week 116 28
  • 4.7
4.7 | 20 ratings
27 Mar 2013 Screenshot tick2text: create easy-to-customize tick labels Customized tick marks, maintained on zoom and pan Author: Kelly Kearney annotation, customization, tick, label, rotate, text 95 8
  • 4.2
4.2 | 5 ratings
30 Jan 2013 Screenshot ecopathlite: a Matlab-based implementation of Ecopath Reproduces the main mass-balance algorithm from the popular ecosystem modeling tool, Ecopath Author: Kelly Kearney ecopath, ecosystem 6 0
Comments and Ratings by Kelly View all
Updated File Comments Rating
18 Jun 2013 Plot (Big) Makes MATLAB's line plots much faster. Author: Tucker McClure

Very useful function. However, it currently only works if your data describes a function (in the mathematical sense of one y per x). It would be great if it could be extended to work when the y axis is the independent variable, or for lines defining polygons (for example, I originally stumbled on this looking for a more efficient way to plot high-resolution coastlines while allowing lots of efficient zooming and panning).

28 Mar 2013 Color Palette Tables (.cpt) for Matlab Create and apply GMT-style colormaps in Matlab Author: Kelly Kearney

@Claire

Sorry, I always forget that roundn is part of the Mapping toolbox. Just replace the roundn call:

space = roundn(space, -3);

with

space = round(space*1e3)/1e3;

18 Mar 2013 legendflex: a more flexible legend Create a legend with more flexible positioning and labeling capabilities Author: Kelly Kearney

@Henrik: Technically, legends are axes (both regular legends and those generated by legendflex). It looks like Convert4publication.m filters out legends based on their Tag property (on line 153). If you add the following line in the same location, it should also filter out legendflex axes:

h(arrayfun(@(a) isappdata(a, 'legflex'), h)) = [];

14 Mar 2013 legendflex: a more flexible legend Create a legend with more flexible positioning and labeling capabilities Author: Kelly Kearney

@Leo,

The warning you are receiving is one issued by the print function whenever it prints a figure with a ResizeFcn, and legendflex does add a resize function to figures. Setting your figure's 'PaperPositionMode' to 'auto' will avoid it (and save you the step of manually setting the page size). Or you could use a function like export_fig (FEX #23629), which in my opinion produces much better output without the quirks of print.

17 Feb 2013 boundedline: line plots with shaded error/confidence intervals Plot one or more lines with a shaded boundary (can represent error, confidence intervals, etc). Author: Kelly Kearney

@Gideon and Martin,

There's nothing in this function preventing you from setting the axis to a log scale via 'xscale' and 'yscale' properties, assuming all your inputs lead to positive values for the boundaries (like NaNs and Infs, negative values displayed on a log scale will cause the bounds patch to disappear). If you are looking for something more complex than that, please send me an example and I'll look into it.

Comments and Ratings on Kelly's Files View all
Updated File Comment by Comments Rating
01 Aug 2013 subdir: a recursive file search Performs a recursive file search using same input and output format as dir function Author: Kelly Kearney Brendan

Just what we were looking for. We wanted something to seamlessly replace a 'dir' command from someone else's code, and it worked just as advertised. Saved my colleague hours of work. After execution, we had to trim the output.name fields to include only the relative path to the current directory, rather than the full path.

19 Jul 2013 subdir: a recursive file search Performs a recursive file search using same input and output format as dir function Author: Kelly Kearney Kothari, Rakshit

Amazing!! exactly what I was looking for! Thank you very much :D

08 May 2013 legendflex: a more flexible legend Create a legend with more flexible positioning and labeling capabilities Author: Kelly Kearney Gram, Tobias Benjamin

Great addon to Matlab. Especially the shrinking function removing the unwanted space between legend marker and legend text. Thanks

24 Apr 2013 plotboxpos Returns the position of a plotted axis region Author: Kelly Kearney Claudia

Thanks so much. That's awesome!

17 Apr 2013 legendflex: a more flexible legend Create a legend with more flexible positioning and labeling capabilities Author: Kelly Kearney Ackman, James

Indeed, this function allows for flexible positioning of legend data without auto-resizing of your plot axes.

And as a bonus it is a great way to make a static legend-- as workaround for the often discussed problems of slow graphics performance when updating dynamic plot data with the base legend() command.

Top Tags Applied by Kelly
annotation, customization, directories, files, label
Files Tagged by Kelly View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
11 Jul 2013 aggregate.m Group (and apply functions to) values in one matrix based on grouping variables in another Author: Kelly Kearney accumarray, aggregate, group 10 0
08 Jul 2013 Screenshot Color Palette Tables (.cpt) for Matlab Create and apply GMT-style colormaps in Matlab Author: Kelly Kearney color, gradient, colormap, color palette table 101 13
  • 5.0
5.0 | 6 ratings
11 Apr 2013 Screenshot legendflex: a more flexible legend Create a legend with more flexible positioning and labeling capabilities Author: Kelly Kearney legend, label, potw, pick of the week 116 28
  • 4.7
4.7 | 20 ratings
27 Mar 2013 Screenshot tick2text: create easy-to-customize tick labels Customized tick marks, maintained on zoom and pan Author: Kelly Kearney annotation, customization, tick, label, rotate, text 95 8
  • 4.2
4.2 | 5 ratings
30 Jan 2013 Screenshot ecopathlite: a Matlab-based implementation of Ecopath Reproduces the main mass-balance algorithm from the popular ecosystem modeling tool, Ecopath Author: Kelly Kearney ecopath, ecosystem 6 0

Contact us