5.0

5.0 | 1 rating Rate this file 6 Downloads (last 30 days) File Size: 4.87 KB File ID: #31063
image thumbnail

Mapcolor: Easily apply mulitple colormaps on the same figure

by Doug

 

15 Apr 2011

Take control of your colors! When one colormap just isn't enough.

| Watch this File

File Information
Description

Ever wish you could use multiple colormaps on a single figure? Now you can. Given an array, mapcolor.m applies a colormap of your choice, returning a new array of the same size that contains explicit RGB triplets. You can then display your data in color, using built-in plotting functions, without relying on the figure's colormap setting.

Also included:
mapcolorbar.m mimics colorbar.m when you're using mapcolor.
colorlabel.m quickly applies labels to Colorbars and MapColorbars.
redblue.m is a colormap from red, through white, to blue--useful for data centered on zero.

MATLAB release MATLAB 7.9 (R2009b)
Tags for This File  
Everyone's Tags
color, colormaps, plotting
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (1)
28 Jul 2011 Thomas Guillod

Very useful
Thanks.

Contact us