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

learn more… | top users | synonyms (2)

1
vote
1answer
121 views

Can't get rid of vertical background color

I am trying to use GraphicsGrid, the background option is set to white, as well as for the separate graphs. But there are still grey stripes. What is the reason for ...
-1
votes
1answer
89 views

Is it possible to colour only one column of a matrix? [closed]

I was wondering if it's possible to colour a column or a row in a matrix. For example is it possible to add colour for one of the rows/columns of the following matrixform code? ...
25
votes
11answers
4k views

How to convert a hex color string to RGBColor?

For example: "#FF8000". How could I convert it to RGBColor or Hue?
0
votes
1answer
106 views

How to colorize a 3D image [closed]

I have a 3D image where the values are in {1/4, 2/4, 3/4, 4/4} and its size is {134, 134, 67}. I used Image3D to display it. However, I am wondering if there is a possibility to colorize the image by ...
6
votes
1answer
163 views

Is it possible to apply a ColorGradient to a string Style?

After reading through the language reference on Style, ColorSchemes, ColorData and ColorFunction, I am at a loss as how to make a string appear with gradient colors. And now that I am curious, I am ...
3
votes
1answer
148 views

default RGB coloring

I am playing with some basic genetic algorithms to recreate input images by transparent plane figures (similar like here:). Everything would work great but the speed is terrible. I was looking for a ...
1
vote
0answers
71 views

Ergonomic night time reading settings [duplicate]

I was wondering if Mathematica had a built-in ergonomically safe night time reading mode for the notebooks. I was thinking of setting something up myself but I do not know the ergonomics/eye safety ...
4
votes
1answer
154 views

Render Graphics3D of anatomical data in color

I am trying to render a bone structure in color in Mathematica 10.3, but none of the obvious methods seem to work: ...
1
vote
1answer
354 views

Filling between ParametricPlot and Plot

There are some similar questions: (1) (2) have been ask, but I think this is a different one. If we have a ParametricPlot and a ...
3
votes
1answer
92 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 ...
2
votes
1answer
83 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 ...
1
vote
1answer
108 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 ...
18
votes
1answer
296 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 ...
3
votes
2answers
143 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 ...
6
votes
3answers
205 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]; ...
8
votes
6answers
294 views

Coloring an image with two Color schemes based on a Range

I would like to color an image generated from some data, using two color schemes based on two ranges of the data. This is my attempt: ...
2
votes
1answer
47 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?
3
votes
3answers
326 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. ...
0
votes
0answers
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 ...
2
votes
2answers
83 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: ...
0
votes
0answers
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 ...
11
votes
3answers
536 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"] ...
4
votes
2answers
433 views

About Hue's period

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 ...
4
votes
1answer
185 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. ...
3
votes
1answer
129 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 ...
8
votes
3answers
819 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 ...
1
vote
2answers
153 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 ...
6
votes
1answer
413 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 ...
2
votes
1answer
110 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 ...
5
votes
1answer
110 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 ...
1
vote
2answers
171 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, ...
1
vote
0answers
243 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 ...
3
votes
2answers
222 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 ...
3
votes
1answer
88 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 ...
0
votes
0answers
41 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 ...
0
votes
0answers
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 ...
7
votes
3answers
773 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 ...
34
votes
2answers
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 ...
19
votes
3answers
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 ...
3
votes
2answers
1k 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 ...
50
votes
3answers
2k views

Changing color of an object in an image

Consider the following image: How can I change all red colors in this image into (for example) blue.
0
votes
2answers
73 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 ...
2
votes
2answers
126 views

Using color gradients in Graphics3D

I would like to use the thermometer color gradient in Graphics3D. Taking an example, I have the following: ...
2
votes
2answers
163 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 - ...
0
votes
1answer
90 views

Colors on a 3D curve not working

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

Adding a fading color to multiple lines in 3D

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 ...
2
votes
1answer
682 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 ...
4
votes
1answer
185 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}}] ...
3
votes
2answers
132 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? ...