Top "Color-mapping" questions

A color map is used when displaying intensity images (2D arrays).

How to plot a 3-column matrix as a color map in MATLAB?

I have a matrix containing the temperature value for a set of GPS coordinates. So my matrix looks like this : …

matlab matrix 3d plot color-mapping
matplotlib standard colormap usage

I'm using matplotlib 1.3.0 and I have the following: import matplotlib.pyplot as plt cmap = plt.cm.jet plt.contourf([[.12, .2], [.8, 2]], levels=[0, .1, .3, .5, 1, 3], …

matplotlib colorbar color-mapping
Python color map but with all zero values mapped to black

I have a square array of elements which correspond to lattice sites. Some of the elements are zero and the …

python arrays matplotlib plot color-mapping
Creating a color map / heatmap in Matlab / Octave

I'm using Octave 3.8.1 which is like Matlab and I'm trying to create a color map / heatmap to look something like …

matlab octave heatmap color-mapping colormap
Two different color colormaps in the same imshow matplotlib

Let's suppose the example below import matplotlib.pyplot as plt import numpy as np v1 = -1 + 2*np.random.rand(50,150) fig = …

python matplotlib color-mapping imshow
Python 3d scatterplot colormap issue

I have four dimensional data (x, y, z displacements; and respective voltages) which I wish to plot in a 3d …

python matplotlib color-mapping
matplotlib - black & white colormap (with dashes, dots etc)

I am using matplotlib to create 2d line-plots. For the purposes of publication, I would like to have those plots …

matplotlib color-mapping
Color Space Mapping YCbCr to RGB

I am experimenting with JPEG compression using python. I load in a tiff image and store it as numpy uint8 …

python image jpeg color-mapping
Colormap for errorbars in x-y scatter plot using matplotlib

I have a time series of data for which I have the quantity, y, and its error, yerr. I would …

python matplotlib scatter-plot color-mapping
Automatic construction of a colormap around the value zero

I often want to plot a difference image that ranges from some negative number to some positive one. The issue …

matlab plot color-mapping