Rank: 184 based on 550 downloads (last 30 days) and 16 files submitted
photo

Stephen Cobeldick

E-mail

Personal Profile:

 

Watch this Author's files

 

Files Posted by Stephen Cobeldick View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
03 Nov 2014 Screenshot Date Vector/Number to ISO 8601 Date String Convert a Date Vector/Number to an ISO 8601 Date String. Tokens control the date/time notation. Author: Stephen Cobeldick date, timestamp, iso 8601, week number, ordinal date, week date 37 1
  • 5.0
5.0 | 1 rating
03 Nov 2014 Screenshot ISO 8601 Date String to Serial Date Number Convert an ISO 8601 Date String to Serial Date Numbers. Auto-detect or select the timestamp style. Author: Stephen Cobeldick calendar date, date, iso 8601, ordinal date, timestamp, week date 46 3
  • 4.5
4.5 | 2 ratings
03 Nov 2014 Screenshot Numeric to English Words Convert a numeric scalar to a string giving the English name of the number value (GB/US). Author: Stephen Cobeldick dialect, words, number names, cheque, check, string 35 0
03 Nov 2014 Screenshot Name that Color! RGB <-> Colorname Converter Convert between colornames and RGB values. Supports CSS, dvips, HTML, MacBeth, MATLAB, X11, xkcd... Author: Stephen Cobeldick colornames, colormap, lab, xyz, yuv, css 64 0
03 Nov 2014 Screenshot ColorBrewer: Attractive and Distinctive Colormaps The complete palette of ColorBrewer colormaps. Simple selection by scheme name and map length. Author: Stephen Cobeldick colormap, colorbrewer, rgb, colorscheme, plot, plot3 114 7
  • 4.33333
4.3 | 3 ratings
Comments and Ratings by Stephen Cobeldick View all
Updated File Comments Rating
18 Oct 2014 RGB triple of color name, version 2 Returns a Matlab RGB color specifier corresponding to a given color name (139 colors supported). Author: Kristjan Jonasson

As some commenters have noted, this submission does not match RGB -> colornames. I wrote a color identifier function to convert between RGB and colornames (both ways):

http://www.mathworks.com/matlabcentral/fileexchange/48155

The user can also choose the to match RGB values using least-squares, or one of the color-difference methods CMC2:1, CIE76, or CIE94 (the default). A bonus function is also included that demonstrates that differences between these matching methods. For more info see also: https://en.wikipedia.org/wiki/Color_difference

18 Oct 2014 Color name identification: fuzzycolor Efficient identification of color names for any RGB Author: John D'Errico

I wrote a color identifier function to convert between RGB and colornames:

http://www.mathworks.com/matlabcentral/fileexchange/48155

The user can choose the to match RGB values using least-squares, or one of the color-difference methods CMC2:1, CIE76, or CIE94 (the default). A bonus function is also included that demonstrates that differences between these matching methods. For more info on these methods, see also: https://en.wikipedia.org/wiki/Color_difference

05 Oct 2014 ColorBrewer: Attractive and Distinctive Colormaps The complete palette of ColorBrewer colormaps. Simple selection by scheme name and map length. Author: Stephen Cobeldick

M S : Thank you for your feedback. I am glad that you found my submission easy to use, as the convoluted usage of other ColorBrewer submissions on MATLAB File Exchange was one of the main motivators to write this. I intended that usage of this function should be as much like the standard colormap functions as was reasonable and feasible.

Your suggestions and observations about the unsuitability of the ColorBrewer schemes for colorblind users are very true. As you point out, the white middle color is unclear in many situations, and not just for readers with vision deficiencies.

However I did not create the ColorBrewer schemes (credit goes to Cynthia Brewer for this), nor do I make any claims about their suitability for a particular purpose, other than to say that they are "attractive, distinguishable colors". Any claims about the suitability for any particular purpose are solely those of Cynthia Brewer, for whom I am not responsible. The sole purpose of this submission is to provide the best access to the ColorBrewer colorschemes for MATLAB File Exchange users.

You might like to consider using the colormapeditor:
http://www.mathworks.com/help/matlab/ref/colormapeditor.html

Writing a colorblind-friendly maximally distant colormap generator would be quite interesting, but this is a clearly a very different task to this simple porting of Cynthia Brewer's existing colorscheme data. For a start, each of protanopia, deuteranopia, tritanopia, protanomaly, deuteranomaly, and tritanomaly would require a completely different set of permitted colors. If you are interested, contact me and we could develop this together.

03 Oct 2014 DayYear.m Day Year Author: Sarah

"Just a check, does not work"

Then why is this file here on MATLAB File Exchange?

03 Oct 2014 Draw a 3D airplane Draw a very simple 3D airplane and animate it too Author: Chad Greene

Based on a Lockheed C-130, but much cuter.

Comments and Ratings on Stephen Cobeldick's Files View all
Updated File Comment by Comments Rating
05 Oct 2014 ColorBrewer: Attractive and Distinctive Colormaps The complete palette of ColorBrewer colormaps. Simple selection by scheme name and map length. Author: Stephen Cobeldick Stephen Cobeldick

M S : Thank you for your feedback. I am glad that you found my submission easy to use, as the convoluted usage of other ColorBrewer submissions on MATLAB File Exchange was one of the main motivators to write this. I intended that usage of this function should be as much like the standard colormap functions as was reasonable and feasible.

Your suggestions and observations about the unsuitability of the ColorBrewer schemes for colorblind users are very true. As you point out, the white middle color is unclear in many situations, and not just for readers with vision deficiencies.

However I did not create the ColorBrewer schemes (credit goes to Cynthia Brewer for this), nor do I make any claims about their suitability for a particular purpose, other than to say that they are "attractive, distinguishable colors". Any claims about the suitability for any particular purpose are solely those of Cynthia Brewer, for whom I am not responsible. The sole purpose of this submission is to provide the best access to the ColorBrewer colorschemes for MATLAB File Exchange users.

You might like to consider using the colormapeditor:
http://www.mathworks.com/help/matlab/ref/colormapeditor.html

Writing a colorblind-friendly maximally distant colormap generator would be quite interesting, but this is a clearly a very different task to this simple porting of Cynthia Brewer's existing colorscheme data. For a start, each of protanopia, deuteranopia, tritanopia, protanomaly, deuteranomaly, and tritanomaly would require a completely different set of permitted colors. If you are interested, contact me and we could develop this together.

02 Oct 2014 ColorBrewer: Attractive and Distinctive Colormaps The complete palette of ColorBrewer colormaps. Simple selection by scheme name and map length. Author: Stephen Cobeldick M S

Pros: supports colorblind palette, which is desperately needed for matlab visualization. Easy to use.

Cons: poor for any plotting purpose; it is not designed for any visualization where there's a background color. For example, for a 'divergent', 'colorblind friendly' scheme, the middle color is always white or off white, which is obviously terrible for plots with a white background.

I wish there were a way to combine another FEX submission, distinguishable_colors--which not only arranges maximally distant colors, but takes into account background color--with colorblind friendly implementation.

27 Aug 2014 Natural-Order Filename Sort Natural-order sort of filenames/fullpaths, with customizable numeric format. Author: Stephen Cobeldick Stelios

Thanks, that's exactly what I was looking for to sort namefiles formatted as
1-d...,2-d...,...18-d...etc.

18 Aug 2014 ColorBrewer: Attractive and Distinctive Colormaps The complete palette of ColorBrewer colormaps. Simple selection by scheme name and map length. Author: Stephen Cobeldick Stephen Cobeldick

You are completely correct that it is possible to redistribute the ColorBrewer colorschemes: in fact this is explicitly permitted by the Apache license that they are released under.

Note though the very first license condition for redistributing ColorBrewer says that "Redistributions as source code must retain the above copyright notice, this list of conditions and the following disclaimer". So when someone redistributes it, it must be accompanied by the same Apache license*. However MATLAB File Exchange does not permit any license to be used other than the BSD license:
http://www.mathworks.com/matlabcentral/FX_transition_faq.html
"For consistency, the BSD license will be the standard for the File Exchange".

So we reach a minor impasse: to redistribute ColorBrewer requires an Apache license, to submit to MATLAB FEX requires a BSD license. Snap. I could distribute a complete version of this function under an Apache license, but not on MATLAB FEX.

Several other submissions have simply ignored ColorBrewer's Apache license, but hopefully FEX does not turn into an exchange of any licensed code that happens to take peoples fancy.

* For an example of this, scroll down to the bottom of the excel spreadsheets that are available from http://colorbrewer.org/

18 Aug 2014 ColorBrewer: Attractive and Distinctive Colormaps The complete palette of ColorBrewer colormaps. Simple selection by scheme name and map length. Author: Stephen Cobeldick Nicholas

Nice job, but not sure why you state you cannot redistribute the colormaps since the website suggests that you can, assuming you meet the requirements. It does, however, specifically state you cannot call the software "ColorBrewer"...

see http://www.personal.psu.edu/cab38/ColorBrewer/ColorBrewer_updates.html

Contact us