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

learn more… | top users | synonyms (2)

12
votes
0answers
136 views

Is Mathematica 10 color managed?

With ColorProfileData[] Mathematica 10 can handle device-dependent color spaces. However, images with embedded color profiles, e.g. sRGB, are rendered and displayed ...
10
votes
0answers
224 views

Break[] inside ColorFunction

f[x_?NumericQ]:= (Do[Break[],{i,1,2}];x) Plot[x,{x,0,1},ColorFunction->(ColorData["Rainbow"][f[#]]&)] Break::nofwd: No enclosing For, While, or Do found ...
8
votes
0answers
43 views

What is the effect of giving ColorFunctionScaling a numerical argument?

(by making a mistake) I realised that ColorFunctionScaling can take a list of numerical arguments rather than just booleans. The following is true for ...
5
votes
0answers
55 views

How many clusters does DominantColors return?

Is there any documentation on how it automatically chooses the number of colors - does it use X-means or some other heuristic to determine the number of clusters it automatically returns?
3
votes
0answers
45 views

ContourPlot with custom ColorFunction: Odd behavior of “Contours” option?

I am trying to generate a blue-cyan-green-yellow-red color gradient that is linear in Hue. The code ...
3
votes
0answers
63 views

How to build a ColorFunction that can take a non-numeric value? Blend returns an error

I'm trying to use an external package, defined here. This package has a private function called makeColorFunction that essentially works by taking an input color ...
2
votes
0answers
28 views

How to specify custom “ColorScheme” for “GradientScaleBoxWhisker” ChartElementFunction and Whiskers & Fences of BoxWhiskerChart?

With BoxWhiskerChart you can specify a gradient scale fill for the boxes using the ChartElementFunctionand the ...
2
votes
0answers
67 views

Discrete color bar: height not adjusting

I am trying to adjust height of my color bar, but LegendMarkerSize is not doing what it is supposed to do. Code ...
2
votes
0answers
45 views

Calculating number of discernible colors in CIE La*b* space

How can Lab space be easily splitted into unity cubes and determined number of cubes that colours of certain image occupy?
2
votes
0answers
69 views

Background color does not display in InputField unless Appearance option is also specified

I get the same behavior for v10.1.0, v.10.0.2 and v.9 with OS X (10.9.5) : No background color is displayed in InputField if I just set properly the option. For ...
1
vote
0answers
50 views

colored array of output

I would like to have colored array of an output. Assume for example we have an array of numbers or texts as output and we want different colors for different classes of them. For example A={...
1
vote
0answers
70 views

Build basic Adobe Kuler-type construction: improving performance / speed

Adobe Kuler is a useful web tool to create colour palettes, but it is limited to 5 colours. I am trying to make a basic Kuler-type construction, but it is very slow, and crashes on my computer for > ...
1
vote
0answers
249 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 ...
0
votes
0answers
39 views

How to construct my own ColorFunction with the TemperatureMap range

I would like to draw the unit circle and define my own coloring function on it so that every point $e^{i\theta}$ of the unit circle will be colored according to said function from the range of colors ...
0
votes
0answers
25 views

Crash when picking colours in Drawing Tools

This crash happens consistently, in Mathematica 10.2.0.0; I'm working on Scientific Linux 6. I open the Drawing Tools toolbox, open e.g. the Stroke drop down menu, and want to select the drawing ...
0
votes
0answers
86 views

Solving a system of three differential equations

I'm trying to create this coloured graph which I'm going to animate, but I'm stuck with solving a system of three differential equations: ...