Rank: 48 based on 754 downloads (last 30 days) and 15 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
24 Apr 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 85 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 161 27
  • 4.68421
4.7 | 19 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 91 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 9 0
30 Jan 2013 Screenshot 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 bounds line confidenc..., so well programmed, potw, pick of the week 202 10
  • 4.6
4.6 | 11 ratings
Comments and Ratings by Kelly View all
Updated File Comments Rating
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.

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

A workaround for the vertical positioning issues with subscripts/superscripts pointed out by William: render the legend with Interpreter set to 'none', then reset it to 'tex' afterwards. You may need to use a larger text size on the initial render as well, and reset to the correct size afterwards (e.g. if text hits box). It's not a perfect fix, and introduces extra horizontal space between columns, but I haven't found a better way to deal with the issues of produced by tex formatting in legends.

Comments and Ratings on Kelly's Files View all
Updated File Comment by Comments Rating
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.

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

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

Function works brilliantly!! Thanks so much!

14 Apr 2013 plotboxpos Returns the position of a plotted axis region Author: Kelly Kearney Pandarinath, Chethan

This is fantastic. Thanks.

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
24 Apr 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 85 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 161 27
  • 4.68421
4.7 | 19 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 91 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 9 0
30 Jan 2013 Screenshot 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 bounds line confidenc..., so well programmed, potw, pick of the week 202 10
  • 4.6
4.6 | 11 ratings

Contact us