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

learn more… | top users | synonyms (2)

7
votes
2answers
318 views

Union of plotted regions as sum of colors

I wish to plot 2 functions $f$ and $g$ so that the region bounded by $f$ has color $c_f$, the region bounded by $g$ has color $c_g$, and the region bounded by both has color $c_f+c_g$. E.g. $c_f$ is ...
5
votes
1answer
110 views

Odd colourization for FourierParameters. UI bug?

The Mathematica UI colourizes the FourierParameters in the following ...
2
votes
2answers
324 views

Colors for multiple piecewise functions

I have the following $3$ piecewise functions, and I would like that f1, f2 and f3 have $3$ ...
6
votes
1answer
340 views

My black text isn't black after exporting to PDF

Consider any standard plot, with true CMYK black text: ...
1
vote
1answer
241 views

How to color ParametricPlot3D based on the parameter?

I have a set of ODEs I am solving, and then plotting (several) trajectories of in ParametricPlot3D. I want to have a color of each plot reflect the time (i.e. the Parameter) at that point. I tried ...
2
votes
1answer
184 views

Buttons Which Change Color, Each Time Pressed [closed]

I need to have 100 buttons, which their color is defined by the parity of number of times they are pressed: If they're pressed an even number of times their color is blue, and otherwise red. I don't ...
6
votes
3answers
391 views

Fill circle layers with colors according to read values from a plotted curve

I want to read (temperature) values from plotted (cooling) curves and visualize them in layered circles. I have an example made manually for clarification: 3 plotted curves, at certain time steps ...
10
votes
1answer
459 views

How to find a specific color in one picture?

In a picture, there are many different colors. How can I just want to find the position of one color. In the following picture, if I would like to find the coordinates of the position of blue, how can ...
3
votes
1answer
117 views

Frontend coloring of Table[x, {x, 0, x}]

I have a small question about how the Mathematica frontend colours in the variables that appear in (wrongly written) iterators. More specifically, I'm intrigued by the colour of the third ...
2
votes
1answer
200 views

How can I mix colors?

As far as I know if you combine Blue and Green the result is Cyan (using additive mixing). ...
1
vote
1answer
167 views

Remove overlapping red and green color

How to remove overlapping red and green color regions, leaving only red ones?
1
vote
1answer
429 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 ...
1
vote
1answer
179 views

Gradually coloring edges in terms of their vertices colors

In order to color Edges in a Graph after applying a function such as VertexDegree I did the ...
0
votes
1answer
181 views

Adding labels on ArrayPlot and coloring rows

I need to add lables on the right from ArrayPlot for each row and color the black square of each row depending on values from two list. Color list has a numbers in some range and should be mapped ...
1
vote
2answers
558 views

Coloring vertices using GraphPlot

I have the following problem: I used GraphPlot to plot my adjacency matrix. I divided my nodes in three groups: ...
4
votes
2answers
236 views

CMYK colours changing

If I draw a coloured diagram like Graphics[{CMYKColor[0, 0.83, 1, 0], Rectangle[{0, 0}], CMYKColor[1, 0, 0, 0], Rectangle[{0.5, 0.5}]}] and select the red ...
12
votes
2answers
361 views

Color Histogram3D by Bin Location

I am using a Histogram3D plot to view the correlation of the R & G of an RGB image. Naturally, I want the bins to have a color corresponding to their $x$, $y$ ...
13
votes
3answers
882 views

How can I convert colors to grayscale?

I want to change the above colored plot into a grayscale plot. I have tried this: CCGray[pic_?ImageQ] := Module[{}, ColorConvert[pic, "GrayScale"]]; but it ...
6
votes
6answers
2k views

How do I fill in a circle made by ParametricPlot with one solid color?

I have a very simple question but I am new with Mathematica. I made a circle on a parametric plot and I made the line black. I want to make the inside of the circle on the parametric plot red. So the ...
1
vote
1answer
151 views

How to keep front and back colors of Polygon in Graphics3D same all the time [duplicate]

I want the same face color for a 3D Polygon when viewed from front or back or from any angle. i.e. I want the color not changed under any conditions. Front and ...
1
vote
1answer
155 views

Time ColorFunction

I have the following data ...
1
vote
2answers
207 views

Image's pixels GPU colour classes splitting

How can I split in color classes, the pixels of an image that I load in Mathematica? I would an output like this: ...
4
votes
1answer
139 views

Why are the two shades of the same color in this figure?

Given $S \subseteq \mathbb{C}$ I am trying to plot $f(S)$ for given complex valued function $f$ Looking at other answers on this site for similar questions, I came up with this ...
10
votes
2answers
2k views

problem with coloring spherical harmonics

I want to color a spherical harmonics. So I write as follows. ...
4
votes
2answers
196 views

Using two color functions in a MatrixPlot

I'm trying to use two color functions within one MatrixPlot in Mathematica. Is it possible to do this? For example, using a very simple matrix: ...
4
votes
4answers
211 views

Change the colour of a ListPlot element in each iteration of Manipulate

I would like to modify the colour of dots in a ListPlot[Table[function]], e.g ...
4
votes
2answers
414 views

Coloring a shape according to a function

I would like to create a $2D$ shape, say an ellipse, where each point in the ellipse is colored according a RGB function, so at point ...
3
votes
2answers
403 views

Color of a plane in Contourplot3D

I have the following code example: ...
3
votes
2answers
225 views

How can I detect and modify one area of an image while preserving the rest

I have an image with a big black disk bounded by a white boundary in its center. The image contains some other stuff outside of the spot and its boundary. This stuff has colors which include both ...
10
votes
4answers
4k views

How to convert rgb to YCbCr?

I looked at ColorConvert, but haven't found a relevant option. Is there a built-in function do this?
2
votes
2answers
179 views

ListDensityPlot controlling the number of colors

Is there a way to set the number of colors used in ListDensityPlot. I am using "Rainbow" as follows: ...
23
votes
3answers
516 views

How does one adjust ColorFunction quality independently of surface quality?

I have a function $f:\mathbb{C}\rightarrow\mathbb{C}$ which I would like to visualize by by plotting $|f|$ with Plot3D using $\operatorname{Arg}f$ as the ...
2
votes
1answer
163 views

Can I apply a ColorFunction to FaceGrids, or otherwise have FaceGrids with varying color?

I want to make a 3d plot with FaceGrids with a certain color scheme. Specifically, I'd like them to be one color below a diagonal line, and a different color above ...
4
votes
2answers
307 views

Filling a plotted line both below and above the line

I'm relatively new to Mathematica. I tried looking for a solution online but couldn't find anything. I want to fill a plotted line both above the line (one color) and below (another color). For ...
11
votes
4answers
4k views

How to change default notebook background color?

How does one change the default notebook background color?
1
vote
1answer
184 views

CMYK colours in a graph template

Hi I'm trying to put together a graphing template. Unfortunately, my arrowheads are a different colour than my functions when the graph is exported to something like a PDF. Is there a way I can ...
13
votes
1answer
2k views

Is it possible to style multiple Plot or ListPlot curves using a color gradient?

I am using Mathematica 8. In Mathematica, there is a default PlotStyle coloring in Plot and ...
19
votes
1answer
465 views

Color scheme used by Colorize?

The Colorize function is often used to display the results produced by MorphologicalComponents: ...
5
votes
2answers
741 views

What is the default ColorFunction for 3D plots?

This should be a really simple question, but it isn't in the documentation for some perverse reason. I like the default ColorFunction that Mathematica uses for ...
4
votes
2answers
239 views

Modified Cell Different Display

Is there a way to show maybe a slightly different color, or change the cell bracketing color of a Mathematica cell when it has been modified? Ideally it would be nice to follow the standard of ...
3
votes
2answers
2k views

Define a color function using Piecewise

How can I define a ColorFunction for my ContourPlot using Piecewise? For example after ...
12
votes
1answer
628 views

PieChart with radial coloring/color function

I am trying to visually compare multiple functions that depend on a single argument running from $0$ to $1$. They describe a radial property and so I thought it would be nice to use a kind of ...
1
vote
1answer
940 views

PlotStyle in ListPlot: change color scheme, manually choose color of first plot

Say i have this data: data1 = Map[Cos, Range[0, 20]]; data2 = Map[Sin, Range[0, 20]]; And i want to plot data1 in gray and a ...
1
vote
1answer
164 views
3
votes
2answers
156 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 ...
0
votes
0answers
182 views

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

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 insert a framed number/text into a ...
3
votes
3answers
213 views

Plot sublists as different colors

I have one big list with many sublists inside. All sublists consist of three numbers. For example: ...
2
votes
1answer
458 views
15
votes
6answers
2k views

How to find major color in a picture?

I want to find the major color (the color which appears most often) in a picture and do some analysis later. For example, if I have this picture: What I want to do is find out that gray, red, ...