This function is able to define a customized colormap given the positions and the colors that are required to make the gradients.
The function defines a customized colobar given the positions and the colors that are going to generate the gradients. A Live Script example is also provided to understand the following parameters
- 8.4K (All time)
- 35 (Last 30 days)
- 5.0 / 5
- Community
-
11 Sep 2019
Buillds any sequence of colormaps based on wrgbcmyk colors
This function can be used to build your own custom colormaps. Imagine if you want to display rainfall distribution map. You want a colormap which ideally brings rainfall in mind, which is not
- 3.5K (All time)
- 4 (Last 30 days)
- 4.9 / 5
- Community
-
14 Feb 2013
colorGradient: generate custom linear colormaps
COLORGRADIENT allows you to generate a linear color gradient from color A to color B.
User can generate a custom linear colormap giving 2 colors and colormap depth.Colors are given as vectors with RGB values. The suggested input method is using intensity values for each channel (0,1
- 3.5K (All time)
- 4 (Last 30 days)
- 4.9 / 5
- Community
-
22 May 2011
Fire and/or Custom Colormap Function
Use the 'fire' colormap in Matlab, or create your own.
, FLAG, PINK, COLORMAP, RGBPLOT.To create any custom colormap, see the directions on line 23 of this m-file.
- 1.5K (All time)
- 4 (Last 30 days)
- 5.0 / 5
- Community
-
19 Mar 2012
Create custom colormaps from single or multiple RGB values.
CMAP creates a custom colormap based on RGB values in the MATLAB format(values between 0-1). By specifying a base color, for example green: [0 1 0], CMAP creates a colormap with a specified number of
- 2.9K (All time)
- 1 (Last 30 days)
- 4.0 / 5
- Community
-
1 Jul 2013
sets the colormap according to monotonically increasing user defined ranges
This function is useful if you don't want to use the linear scaled colormap that are the default in Matlab. USAGE: CUSTOMCMAP(cbar_labels,user_cmap,minMaxValues
- 881 (All time)
- 1 (Last 30 days)
- 4.3 / 5
- Community
-
19 Jun 2012
Lets you easily zoom into Mandelbrot set (2D/3D)
of the Mandelbrot set. The Mandelbrot set contains 3 custom colormaps that will generallysuit Mandelbrot set more than the existing standard repertoire ofcolormaps. Changes since the last version
- 1.2K (All time)
- 4 (Last 30 days)
- 5.0 / 5
- Community
-
30 Oct 2008
- 412 (All time)
- 2 (Last 30 days)
- 5.0 / 5
- Community
-
30 Jun 2017
Extension of jet colormap to include more colors. It can also be used to build virtually any custom colormaps.
Superjet is a general function for colormap building. I originally wrote it back in the days when jet was the default colormap and it was designed as an extension of jet to include black and white
- 147 (All time)
- 2 (Last 30 days)
- 5.0 / 5
- Community
-
21 Jul 2020
VELAS is a user-friendly open-source toolbox for the visualization and analysis of elastic anisotropy written in GNU Octave that can be used
', 'PRGn','PuOr', 'RdBu', 'RdGy', 'RdYlBu', 'RdYlGn'Note: If the colormap above is not in the drop-down list box, check the custom colormap checkbox and enter the name of one of the above colormaps.Setting your own
- 66 (All time)
- 2 (Last 30 days)
- -- / 5
- Community
-
16 Jul 2024
Build Custom Colormaps with Variable Resolutions
Build custom colormaps
This function can be used to build your own custom colormaps.the first input argument colors is a n X 3 matrix with each row specifying the color.the second argument is the resolution of the colormap
- 146 (All time)
- 1 (Last 30 days)
- -- / 5
- Community
-
2 Sep 2014
Creates a custom color map given the RGB triplet array.
# Introduction[](https://www.mathworks.com/matlabcentral/fileexchange/43700)[](https://matlab.mathworks.com/open/github/v1?repo=DrosteEffect/CubeHelix)CUBEHELIX generates colormaps
- 4.5K (All time)
- 2 (Last 30 days)
- 4.9 / 5
- Community
-
31 Mar 2026
Perceptually improved colormaps
7 perceptual colormaps with rainbow-like colors and 1 with heat colors
PMKMP Returns perceptually balanced colormaps PMKMP(N,SCHEME) returns an Nx3 colormap. usage: map=pmkmp(n,scheme);%% Example1: 128-color rainbow with cubic-law luminance (default) load mandrill
- 8.7K (All time)
- 3 (Last 30 days)
- 5.0 / 5
- Community
-
14 Nov 2014
cmocean perceptually-uniform colormaps
Perceptually-uniform colormaps inspired by oceanography
These colormaps were developed by Kristen Thyng using viscm. They are perceptually uniform, as color should be when it serves as a numeric axis. If these colormaps are useful for you, please consider
- 15.9K (All time)
- 174 (Last 30 days)
- 5.0 / 5
- Community
-
7 Sep 2021
Beautiful and distinguishable line colors + colormap
Plot lots of lines with very distinguishable and aesthetically pleasing colors. Works for 'N' colors
The default Matlab default line spec and colormaps are astoundingly crude. This function creates distinguishable colors by spacing them out ~equally in *perceptive* space, not in RGB space. It is
- 28.3K (All time)
- 32 (Last 30 days)
- 4.9 / 5
- Community
-
16 Sep 2015
crameri perceptually uniform scientific colormaps
Perceptually uniform scientific colormaps from Fabio Crameri.
AboutA simple Matlab function for Fabio Crameri's perceptually uniform scientific colormaps.Usagecrameri without any inputs displays the options for colormaps.crameri ColormapName sets the colormap
- 5.9K (All time)
- 95 (Last 30 days)
- 5.0 / 5
- Community
-
12 Nov 2022
This simple code enables you to plot using custom markers.
This simple code enables you to plot using custom markers. It uses custom patches instead of Matlab built-in markers.As the input, you need to provide x and y for the data points, like you do in
- 2.4K (All time)
- 4 (Last 30 days)
- 4.9 / 5
- Community
-
17 Dec 2012
Figure to play and analyze videos with custom plots on top
A figure ready to scroll through and play videos. You can also draw any custom graphics on it.
redraw at scroll position F (for example, REDRAW_FUNC can show the frame F of a video).This can be used not only to play and analyze standard videos, but it also lets you place any custom Matlab plots and
- 3.4K (All time)
- 4 (Last 30 days)
- 5.0 / 5
- Community
-
12 Dec 2010
COLORMAP and COLORBAR utilities (Jul 2014)
MATLAB color utilities including COLORMAP join and interpolation; freeze and fit COLORBAR, etc.
These are some utilities that improve the COLORMAP and COLORBAR functions. They are as follows, and each one includes help and examples: COLORMAP utilites:cmapping - Colormap linear
- 24.3K (All time)
- 2 (Last 30 days)
- 4.5 / 5
- Community
-
3 Jul 2014
ROS Toolbox interface for ROS Custom Messages
Use custom ROS message and service types in MATLAB and Simulink.
Note: This support package is functional for R2017a to R2020a. Starting in R2020b, ROS custom message generation is directly supported from ROS Toolbox without this support package. Using the ROS
- 5.2K (All time)
- 4 (Last 30 days)
- 2.6 / 5
- MathWorks
-
16 Sep 2020
RedBlue Colormap Generator with Zero as White or Black
A colormap generator to display positive values as blue and negative values as red. Zero is displayed as either white or black.
white or black. The clim values, from the image or can be entered, are used to customize the colormap.Syntax: y = redblue(n,clim,'black')Typical usage: colormap(redblue(64))Arguments:All arguments are
- 1.7K (All time)
- 23 (Last 30 days)
- 5.0 / 5
- Community
-
4 May 2020
ColormapsNc lets you create your own colormaps (up to 256 colors).
ColormapsNc lets you create your own colormaps (up to 256 colors).ColormapsNc is able to create a custom colormap by specifying up to 256 different colors. The colors will be shown in the order you
- 3.8K (All time)
- 1 (Last 30 days)
- 5.0 / 5
- Community
-
3 Jun 2004
COLORMAPS3C lets you create your own colormaps.
COLORMAPS3C is able to create a custom colormap by specifying the 3 colors that you want to use in your colormap. The first will be at the bottom of the scale, the second will be the intermediate and
- 1.5K (All time)
- 1 (Last 30 days)
- 5.0 / 5
- Community
-
19 May 2004
Transform an image to have any histogram you want.
- 8.7K (All time)
- 4 (Last 30 days)
- 4.8 / 5
- Community
-
11 Oct 2010
MatPlotLib "Perceptually Uniform" Colormaps
MatPlotLib's default linear lightness colormap VIRIDIS and distinctive line colororder TAB10
From MatPlotLib 2 and 3:the default sequential colormap VIRIDIS (as well as INFERNO, MAGMA, and PLASMA),the default line colororder TAB10 (as well as TAB20, TAB20B, and TAB20C),the cyclic colormaps
- 8.2K (All time)
- 141 (Last 30 days)
- 4.9 / 5
- Community
-
12 Mar 2026
Perceptually uniform colormaps
New Improved colormaps taken from python.
Perceptually uniform colormaps adds 4 new colormaps that are:1) Perceptually uniform (delta color is equal in all delta data)2) Colorblind friendly3) Good at grayscale conversion4) Pretty!Colormaps
- 15.4K (All time)
- 85 (Last 30 days)
- 4.9 / 5
- Community
-
2 Oct 2019
Colormap in blue, white and red.
- 2.6K (All time)
- 1 (Last 30 days)
- 5.0 / 5
- Community
-
16 Mar 2006
Colormap that linearly varies between red (+) white (=0) and blue(-)
This is a diverging colormap that linearly varies between red (+) white (=0) and blue(-).Just observe the figure
- 1.2K (All time)
- 23 (Last 30 days)
- 5.0 / 5
- Community
-
4 Feb 2021
Jet-based colormap that contains white in its middle point.
This function defines a new colormap with the same colors that "jet", but it also replaces the green tones with white ones. This is specially useful when a signed metric is depicted, and its null
- 1.2K (All time)
- 6 (Last 30 days)
- 5.0 / 5
- Community
-
21 May 2018
contourfcmap: filled contour plot with precise colormap
Creates a filled contour plot, with more precise control over colors than contourf.
# contourfcmap.m: filled contour plot with precise colormap[![View contourfcmap: filled contour plot with precise colormap on File
- 5.5K (All time)
- 6 (Last 30 days)
- 4.8 / 5
- Community
-
9 Aug 2024
Blue, white, and red colormap for images with positive and negative values.
BLUEWHITERED(M) returns an M-by-3 matrix containing a blue to white to red colormap, with white corresponding to the CAXIS value closest to zero. This colormap is most useful for images and surface
- 12.4K (All time)
- 54 (Last 30 days)
- 4.6 / 5
- Community
-
14 Oct 2003
GINPUT with customizable cursor.
This function behaves similarly to MATLAB's GINPUT, with an added ability to customize the cursor color, line width, and line style. From the function HELP:[X,Y] = ginputc(N) gets N points from the
- 5.1K (All time)
- 8 (Last 30 days)
- 4.8 / 5
- Community
-
1 Sep 2016
Adaptive Colormap Function Creates a Colormap Specific to Data
Easily design and fit a colormap to the values in your data!
Tristan Ursell Nov 2013 Adaptive colormap rgbslide(mat_in,...) slide_map = rgbslide(...); This function creates, on the fly, an active / adaptive colormap for the data given by the matrix
- 989 (All time)
- 1 (Last 30 days)
- 5.0 / 5
- Community
-
29 Oct 2013
Blue-orange Colormap (esa colormap)
A colormap with colors orange-white-light blue.
A colormap with colors orange-white-light blue. The length of the colormap can be defined with additional parameters (e.g. colormap(esa(256)).
- 2.7K (All time)
- 2 (Last 30 days)
- 4.0 / 5
- Community
-
17 Mar 2006
lutbar: a pedestrian colormap toolbar/contextmenu creator
LUTBAR creates a colormap toolbar and context menu
if you are tired of trying colormap(xxx) at the command prompt to find the appropriate colormap for your figure - try LUTBARLUTBAR creates a colormap toolbar with colormap icons and context menu from
- 4K (All time)
- 1 (Last 30 days)
- 4.8 / 5
- Community
-
21 Jan 2008
Performs advaced colormap operations
Length Length of generated colormap ColorPositions Vector of color positions If colors from the ColorMapString should be placed at custom data values, provide their
- 2.7K (All time)
- 2 (Last 30 days)
- 5.0 / 5
- Community
-
1 May 2013
tick2text: create easy-to-customize tick labels
Customized tick marks, maintained on zoom and pan
Allows automatically-updating customized tick marks in Matlab
- 8.5K (All time)
- 3 (Last 30 days)
- 4.3 / 5
- Community
-
9 Aug 2024
Makes colormaps that smoothly blend from one color to another to optionally a third.
Many colormaps like Jet cause your eye to misunderstand important characteristics of your data. It is often best to simply blend from one color to another, or possibly through three. This file will
- 8.3K (All time)
- 3 (Last 30 days)
- 5.0 / 5
- Community
-
1 Sep 2016
A simple tool for creating attractive and perceptually smooth colormaps
This tool simplifies the creation of perceptually linear and/or smooth colormaps for data visualization. The tool works by using palette colors selected by the user and performing all interpolations
- 19 (All time)
- 3 (Last 30 days)
- 5.0 / 5
- Community
-
23 Jun 2023
Superimpose multiple semitransparent images with individual colormaps on the current axis.
Remaps CData for multiple images, plotted in the current axis, to their respective individual colormaps. Multiple examples provided. The examples also demonstrate how semitransparent effects can be
- 1.2K (All time)
- 1 (Last 30 days)
- 5.0 / 5
- Community
-
3 Mar 2012
A colormap that attempts to be color blind friendly
- 2.5K (All time)
- 15 (Last 30 days)
- 5.0 / 5
- Community
-
30 May 2014
Colormap with zero-center white shading.
When representing "polarized" data for which zero and sign are meaningful (like for instance, a gravity anomalies map), it is useful to have a colormap where white stands for zero value, and greater
- 3K (All time)
- 4 (Last 30 days)
- 5.0 / 5
- Community
-
13 Jun 2012
Generates one of four colormaps using schemes proposed in technical literature
- 7.4K (All time)
- 2 (Last 30 days)
- 4.9 / 5
- Community
-
1 Sep 2016
On-The-Fly Definition of Custom Matrix Objects
Class of matrix-like objects with on-the-fly definable methods.
- 873 (All time)
- 1 (Last 30 days)
- 5.0 / 5
- Community
-
3 Oct 2010
Simple Matlab and python script that import colormaps from matplotlib into Matlab.
PyColormap4MatlabSimple Matlab and python script that import colormaps from matplotlib into Matlab.getPyPlot_cMap returns any colormap implemented in the matplotlib python library. It calls a python
- 4K (All time)
- 13 (Last 30 days)
- 4.9 / 5
- Community
-
17 Feb 2022