Code covered by the BSD License  

Highlights from
cbrewer : colorbrewer schemes for Matlab

5.0

5.0 | 2 ratings Rate this file 52 Downloads (last 30 days) File Size: 252.14 KB File ID: #34087
image thumbnail

cbrewer : colorbrewer schemes for Matlab

by Charles

 

06 Dec 2011

This function loads colormaps based on the color brewer schemes (http://colorbrewer2.org/)

| Watch this File

File Information
Description

This function produces a colorbrewer table (rgb data) for a given type, name and number of colors of the colorbrewer tables. For more information on 'colorbrewer', please visit: http://colorbrewer2.org/
 
 The tables were generated from an MS-Excel file provided on the website
 http://www.personal.psu.edu/cab38/ColorBrewer/ColorBrewer_updates.html

This function also allows to use a variable number of colors for each colortable by interpolating the RGB indices

Based on the original data, there is only a certain number of colors available for each color scheme. When 'ncol' is larger then the maximum number of colors originally given, an interpolation routine is called (interp1) to produce an "extended" colormap.
 
To see the various colormaps available according to their types and names, simply call: cbrewer()

This product includes color specifications and designs developed by Cynthia Brewer (http://colorbrewer.org/).

Required Products MATLAB
MATLAB release MATLAB 7.9 (2009b)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (2)
24 Jan 2012 Andrew Bliss

Nice to see someone port these color scales to Matlab. Thanks!

[You don't need to include the hidden files or the preview jpg in the download].

20 Mar 2012 Jan Neggers  
Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
colortable plot Charles 06 Dec 2011 08:48:19
colormap Jiro Doke 08 Dec 2011 09:27:52

Contact us at files@mathworks.com