Top "Color-mapping" questions

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

Position colorbar inside figure

I have a simple scatter plot where each point has a color given by a value between 0 and 1 set to …

python matplotlib color-mapping
matplotlib: Get the colormap array

I am new to matplotlib, and have get stuck in colormaps. In matplotlib how do I get the whole array …

matplotlib color-mapping
Python matplotlib : plot3D with a color for 4D

I am trying to make a 3D plot from x, y, z points list, and I want to plot color …

python matplotlib color-mapping mplot3d
Problems with zeros in matplotlib.colors.LogNorm

I am plotting a histogram using plt.imshow(hist2d, norm = LogNorm(), cmap = gray) where hist2d is a matrix …

matplotlib color-mapping
Matlab custom colormap with only 3 colors

just want to check if it is possible to make a custom colormap with only 3 colors? (there is no need …

matlab plot color-mapping
Matplotlib python change single color in colormap

I use the colormap in python to plot and analyse values in a matrix. I need to associate the white …

python matrix matplotlib color-mapping