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

learn more… | top users | synonyms (2)

1
vote
2answers
80 views

Adding colors to objects in a loop

I'm just starting out in Mathematica and still learning the ropes. I'm making a "necklace" which is a circle with squares around it. The following works: ...
1
vote
2answers
138 views

Show Simplified Directives [closed]

Is there a way to force Mathematica to convert an already rendered Graphic to the simplified Directive form of that Graphic. Background: I am currently editing Graphics using Drawing Tools and then ...
1
vote
2answers
113 views

Using Specularity effects and ColorFunction in Plot3d

I'd like to reproduce the 3d surface of the attached image . What I'm interested in, is the light reflection at the basis of the surface and the rainbowlike color. I use Plot3d and colorfunction in ...
1
vote
2answers
135 views

How can I remove edges from my DiscretePlot?

By default, DiscretePlot displays "edges" along the sides and, prominently, align the top when ExtentSize -> Full is set. For ...
1
vote
2answers
446 views

Multiple curves plotted with different colours [duplicate]

I am trying to use ColorFunction for 2 functions on the same plot. I only want the cubic equation to change colour. ...
1
vote
2answers
131 views

Colorizing thresholded images with different colors

I am switching from IDL (from exelis) to Mathematica and want to do the following: thersholding a image (all values above a certain threshold are set 1, the rest is 0 ) colorizing the thresholded ...
1
vote
2answers
99 views

ParametricPlot - Problem with ColorFunction

I am unhappy with the following mapping: ...
1
vote
1answer
163 views

Remove overlapping red and green color

How to remove overlapping red and green color regions, leaving only red ones?
1
vote
1answer
166 views

Colors not showing in Graphics3D

The following code works, except that the colors aren't showing in the output. Wh? I probably made a trivial mistake, but I'm yet unable to find it. ...
1
vote
1answer
827 views

Use selfdefined ColorFunction to encode z dimension with predefined limits

In my last question we defined a colorfunction cf. Now I want to use this ColorFunction for a number of different plots (...
1
vote
2answers
72 views

Controlling colors of points in ListPlot

I have a collection of points I want to plot using ListPlot[]. I would like each individual point to be a certain color depending on a key value that is based on a list separate from the points. As a ...
1
vote
1answer
148 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 ...
1
vote
2answers
104 views

ColorFuntion input

Is there any input for ColorFunction, which ranges from Black for smallest values, goes through red-orange-yellow and ends in very bright yellow almost white for ...
1
vote
1answer
165 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 ...
1
vote
1answer
144 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
871 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
157 views

Apply ColorData scheme for Plot from green to red

I'd like to apply a ColorData to this plot: ...
1
vote
2answers
220 views

Filling for ListPolarPlot

I want to use Filling for ListPolarPlot in such a way that the points in the list are joined to the origin with a line colored ...
1
vote
1answer
98 views

Plot multiple solutions [duplicate]

I want to plot multiple solutions of an equation, so that one can differ them in the plot. The given equation is e.g. ...
1
vote
1answer
98 views

Missing arrow tips and colors

My main problem is: I plotted a curve here, but the tip of some arrows are missing. Why does this happen, and how can I fix this? Not the main problem: Also, I once tried to make the arrows with ...
1
vote
2answers
171 views
1
vote
1answer
194 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 ...
1
vote
1answer
149 views

Time ColorFunction

I have the following data ...
1
vote
1answer
113 views

Draw only the top of the boundary of a function in Plot3d

So currently I have via combining 3 Plot3D's in a show. My question is how can I make it so that the ONLY portion of that border highlighted green, is the "curving portion" in the xy plane, rather ...
1
vote
1answer
66 views

Piecewise ColorFunction for Plot3D

I want to make a 3D plot where the ColorFunction is different depending on whether the function value is positive or negative. I know how to do the following: ...
1
vote
1answer
93 views

Adjusting contrast of a color scale with ListDensityPlot

I am using ListDensityPlot to plot data of the form {{x1,y1,z1},{x2,y2,z2}, …}. It results in the plot shown below. But I'd like to adjust the color scale contrast to better show the variations in ...
1
vote
1answer
110 views

How to apply two kinds of Plot styles in single graph

My version is 9.0 I want to apply ColorData and Line Width styles at the same time, like the ColorTheme Function new in 10.0, but there is always errors. Codes under here: ...
1
vote
1answer
167 views

Plot multiple solutions of a system of differential equations with different values of constant c by using NDsolve

I am traying to solve system of differential equations with different values of constant c then plot the solution with different values of the constant c. where c= 2.2758, 2.04822, 1.82064, 1.59306, ...
1
vote
1answer
104 views

Identifying the color in Image

This has mad me Crazy for a while Can any one please Help me solving this this is the Image that I am working on . Basically this image is made up of 98 different color patches 7 patch on each level ...
1
vote
1answer
626 views

add a color bar legend to a 3D plot

This has a connection to the previous post here: puzzled with a color function Also, a recent post of mine appeared here: Create a color bar plot legend but I should have solved the problem with the ...
1
vote
1answer
371 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
536 views

Want more vibrant colors in plots

Is it possible to create plots that have vibrant colors like those I create in Python? For instance, take this thread function returning 0 where I used rainbow and here is the temperature gradient: ...
1
vote
1answer
43 views

DensityPlot colours symmetric around zero

I have some function of two variables (which happens to be the error in some approximation I'm interested in). I'd like to get a density plot of the function, such that in regions when the function is ...
1
vote
2answers
64 views

Is there a way to logically test an optional color input inside a module? [duplicate]

Suppose I create a Module that is expected to return a graphic that I will later use in a plotting procedure (e.g., with ...
1
vote
1answer
190 views

Plot a vector valued function of two variables using color density

I have a vector (3D) valued function of two variables. I want to visualize it as a density plot, using R,G,B color values to display the value at the point (x,y). I've come up with a couple of ...
1
vote
1answer
242 views

Part::pspec error returned when using a ListLinePlot ColorFunction variable as list index

In ListLinePlot, I'm attempting to construct my own ColorFunction for coloring points differently based on a third dimension of data not plotted to a specific axis. However, ColorFunction only uses ...
1
vote
1answer
179 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 ...
1
vote
2answers
61 views
1
vote
0answers
97 views

ColorFunction - custom colors and scaling

I am trying to implement my own colors and scaling into the ColorFunction which I use in ListDensityPlot. I have several lists of 2D values which I plot in multiple images and I want to scale the data ...
1
vote
0answers
82 views

Individual ColorFunction with RGBColor

I want to create a special ColorFunction with RGBColor for my DensityPlot. A nice example is ...
1
vote
0answers
43 views

Colouring of multiple data sets in DiscretePlot [duplicate]

I noticed the following strange behaviour: Let us first define an array of functions g[k_] := {Sin[k], 2*Sin[k]} gg = g[k] When I plot this array of ...
1
vote
0answers
42 views

How do I change a ColorFunction filling to be top-down as opposed to left-right? [duplicate]

I've been stuck on a seemingly simple Graphics issue for quite a while now... I am trying to make a temperature distribution Plot that will have a colorFunction filling to show red when at a higher ...
1
vote
0answers
52 views

Scaled ColorData Function [duplicate]

I have a four-dimensional array c, in which the first dimension represents time and the other three dimensions represent (x,y,z) ...
1
vote
0answers
172 views

logticks in a colorbar

I have a question on using logarithmic ticks in a colorbar in Mathematica 8.0 . I use the package ColorbarPlot (...
0
votes
2answers
254 views

RGB numbers for pastel colordata [duplicate]

How can I get the rgb numbers for colors that show up in the colordata "pastel" so I can use them inside a regionplot? I am combining several regionplots and I would like each of the regionlots to be ...
0
votes
2answers
63 views

How to Fill ContourPlot

Given a contour plot such as function = Cos[c] + Cos[a] pltc = ContourPlot[function == 1/2, {a, 0, 4 Pi}, {c, 0, 4 Pi}]; How can I color the regions in which ...
0
votes
1answer
127 views

Plotting 2D color function on the plane [duplicate]

Suppose p is a some point in the plane. The function f[q] defined as ...
0
votes
2answers
222 views

ListLinePlot with colors from data

I am trying to color a simple 2D plot (using ListLinePlot) based on data in the form of 3-vectors. ...
0
votes
2answers
110 views

Coloring selected elements of a list created with Table [duplicate]

I have a function that returns a list of 100+ elements, using Table[]. For simplification, let's assume that it's just ...
0
votes
2answers
104 views

Change the colour scheme in DensityPlots to make the zero white

We are trying to plot a density plot using the TemperetarueMap colour scheme. However, we don't seem to be able to make the white colour correspond to the value zero of the function we are plotting. ...