# Tagged Questions

Questions on the color models, schemes, named colors and color functions supported by Mathematica.

105 views

### DensityPlot with the same color scale in Show

I am trying to align color scale for continuous plots that have different ranges. Here the color scale exhibits a discontinuity even with the same PlotRange ...
84 views

### ColorDataFunctions applied to Tables of Graphics?

I'm trying to make a graphic according to a List, n. n has integer values that go from ...
119 views

### How to color-code a 3D point plot

I am doing a Finite Difference Method for 3D heat diffusion, so I need my ListPointPlot3D to be color coded on a range from deep red to deep blue depending on the temperature of the point. My ...
299 views

### Color degrades when using Copy As Bitmap

I have discovered a problem that affects my use of Mathematica. When I use the menu command Edit > Copy As > Bitmap the colors in the copy are subtly degraded. To make this more apparent I copied ...
146 views

### Color vector according to angle

One can use the function VectorColorFunction in VectorPlot3d to color vectors according to their norms. How to color vectors ...
221 views

### ListPlot will not color markers in accordance with my color function

I have the following color table: colTable = {{Black}, Table[{Blend[{Blue, Green, Yellow, Red}, x]}, {x, 1/2000, 1, 1/2000}]}; colTable = Flatten[colTable]; ...
50 views

### Plot a function that gives a color [duplicate]

I have a function that takes in two numbers and returns a RGB color. I would like to plot that function on a 2D surface. How can I do that?
350 views

### How do I interpolate a set of points with colour varying along the curve?

I have a table with 3 columns - x position, y-position and colour. I'd like to plot these points and join them with line segments, where the colour of the line segment is determined by 3rd variable. e....
22 views

### How to get an image when having indices of pixels [duplicate]

I am doing a perspective projection of a list of voxel V={v1,v2,v3,...,vn} using the perspective projection matrix 3*4 to get the indices of each pixel pi=(xi,yi). pi=P*vi Once I get the indices, I ...
94 views

### mesh vertex coloring

So I created a mesh like this: mesh2 = ToElementMesh[FullRegion[2], {{1, 10}, {1, 10}}, MaxCellMeasure -> 1.]; and want to plot it, coloring the squares: <...
43 views

### ColorFunction on a surface [duplicate]

I have a surface in 3D space which is defined by equation in ContourPlot3D. For simplicity let me use x + y == z surface (in reality I have a transcendental ...
557 views

### How to speed up Colorize

I have a list of about 500 images similar to the following: A = Import["http://i.stack.imgur.com/1bV4O.png"] ...
436 views

So we can see that Hue is a periodic function. Its period is 1. And the specifier from documentation. Sorry for I cannot cite my local language documentation. Let ...
190 views

### puzzled with ColorData [closed]

At first let me thank, from this point as well, those that they replied to my previous queries. From a reply I got, I obtained finally the desired graph. ...
134 views

### How to pick a color differing significantly from the colors already in a given color list?

Suppose that we want to color a number of objects. We start by selecting some color (randomly). Then we want the color of the next object to be significantly different from the colors already used (...
834 views

### How can I set the background color to the Popupmenu?

I want to set the Background color of a PopupMenu to blue. I already searched in the documentation center, but I didn't find any ...
187 views

### Use default ListDensityPlot color scheme in ArrayPlot?

I have some data that I would like to display in an ArrayPlot. I like the default color scheme of ListDensityPlot (Mathematica ...
460 views

### How to fill curves with a color gradient?

I would like to produce a graphic like this but with a continous color gradient between the outer curves. Is it possible to achieve this by using the Filling ...
116 views

### Change cell frame color in stylesheet

I am trying to make a custom stylesheet, but I am not able to get rid of the cell frame color from the base stylesheet. In particular, I have: I have changed the background color of the cell to ...
115 views

### Continuous background color of adjacent cells

I'm trying to make continuous blocks of cells so that their background colors are the same, but without breaks of white space between them. E.g. After some recent digging, I found the option "Show ...
223 views

### FillingStyle and Opacity won't work together in Mathematica

I try to plot some data in Mathematica using the ListLinePlot[]. Unfortunately the plot option ColorFunction, ...
251 views

### Frame and white background not working (all other colours are fine)

Bug introduced in 6 and fixed in 7 Though my question my be related to this one, it doesn't look like it can easily be solved in the same way, so I hope not to be double-posting. I am trying to ...
233 views

### I want to change the outer background color of a manipulated plot

I downloaded some demonstrations' sources (for example) and I want to change their colors. I am only stuck with the white outer background that is around the plot's yellow background. I would like to ...
91 views

### Creating a grid of coloured points

I wish to create a grid of 31x31 points with coordinates of the form $(k/30,n/30)$ within the unit square, and give each point a colour based on the 2-adic value of both its coördinates. I plan to ...
43 views

### How to create a color ListPlot [duplicate]

Assume that I've got a list L={{1, 2, 0.1}, {2, 4, 0.2}, {3, 5, 0.3}} I want to show this list like where first point (from the left side) has a additional ...
22 views

### How to adjust ColorFunction to scale the clipped areas in ListDensityPlot? [duplicate]

I have a data set I am trying to visualize, however some of the values seem to be extra large and it's just clipped and blanks are left. I want to rescale or whatever in such a way as this white areas ...
800 views

### Color function doesn't span the whole color range in MatrixPlot

In matrix visualization, for instance, MatrixPlot[{{1, 2}, {3, 4}}, PlotRangePadding -> 0, ColorFunction -> "Rainbow"] the color map does not cover the ...
4k views

### The correct way to linearize colorspace before resizing, blurring etc

There was an interesting discussion on MathGroups dealing with the fact that image-processing functions in Mathematica (and many other software, including Adobe Photoshop) work with RGB, Grayscale etc....
3k views

### Filtering pixels of a certain color

What is the best way to filter an image so that only the pixels close to a certain color are left? I've downloaded some satellite images from the web where a specific pixel color corresponds to a ...
2k views

### 2D ListPlot with separate color function

Suppose a data array of the form {{x1,y1,z1},{x2,y2,z2}...}, is it possible to use ListPlot where x,y specify the point position ...
74 views

### ColorFunction still interferes with PlotLegends in Mathematica 10?

I want to draw 2 functions in the same plot and I use Show for this. I am using Mathematica 10 and I still have the problem that the legend disappears for the ...
144 views

### Using color gradients in Graphics3D

I would like to use the thermometer color gradient in Graphics3D. Taking an example, I have the following: ...
175 views

### Color points in ListPointPlot3D

I have some 3d points with coordinates and a value assigned to each point. I want to plot the points and depending on the value use a different color. I have tried to use the answer in ListPlot3D - ...
92 views

### Colors on a 3D curve not working

I'm having troubles applying colors to a simple 3D curve plot. Here's the code : ...
114 views

I would like to add a fading color to all the 3D lines I'm drawing with the code below, but I'm having difficulties with implementing the idea. The curves are starting on a unit sphere, and extend in ...
723 views

### Invert Colors Stylesheet White on Black

There have been a couple studies done that showed that white text on a black background increase recall of data. Although this is certainly debatable how might I invert the colors of Notebook font ...
211 views

### DensityPlot: giving the same color to a range of values

The following command DensityPlot[x y, {x, -3, 3}, {y, -3, 3}, PlotLegends -> Automatic, ColorFunction -> {"Rainbow"}, PlotRange -> {{-3, 3}, {-3, 3}}] ...
144 views

### how to use filling in Graphic plots

i'm going to plot some angles in Trigonometric circle by using Graphic command how can i use filling axes by different colors in this program or color between the angles? ...
129 views

### Modifying the built in graphic format of colors

Can users modify the default format of colors in the front end? Red For example, dimensions, aspect ratio, EdgeForm? The motivation is the functional ...
1k views

### How to plot an emission spectrum?

If I have a list of data with various wavelengths in nanometers, how would I plot them on a graph so it looks like this: So far I have managed to plot a spectrum in ...
3k views

### ColorData[“VisibleSpectrum”] is wrong?

I am trying to visualize the visible spectrum using the built-in ColorData["VisibleSpectrum"] function which "colors based on light wavelength in nanometers". But I ...
182 views

### BarLegend using Function that uses Blend

Bug introduced in 10.0 and fixed in 10.1 I'm sorry if this is a duplicate, but I don't even know how to look for it. I had this line of code that worked on a Notebook I wrote on Mathematica 9.0: <...
109 views

### Adding a fading color only to 3D curves going outside a cylinder

I'm having a problem with color shades on multi curves drawn with the Mathematica 7.0 code below. All the curves with both their endpoints inside the unit cylinder (green circle on the picture below) ...
94 views

### ColorReplace does not work

I want to do - seemingly - simply image processing. I want to replace all blue pixels with white pixels. The obvious command would be: ...
50 views

### Change Property without re-evaluating [duplicate]

I am working with ContourPlot3D, and my expression takes a long time to evaluate (nearly 20 minutes). So I am wondering if there is a method to changing format ...
129 views

I have ...
457 views

### Match colors to plot themes

How do I get the colors to match the plot theme when I use a PlotLegend that is separate to the plots? I have had a look at How to access new colour schemes in ...
127 views

### Coloring network edges by weight using GraphPlot

Following up on a previous question about how to color the nodes (vertices) of a network (graph) according to a color scaling of a property of those nodes, I'm now asking basically the same thing ...