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

learn more… | top users | synonyms (2)

1
vote
1answer
339 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
113 views

GraphPlot with black edges no rendering function

Is there any way to make the edges of a GraphPlot black without tediously writing out a long "EdgeRenderingFunction"? I guess you could ask the same kind of question about vertex labeling. For ...
1
vote
1answer
399 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
2answers
63 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
134 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
213 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
164 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
0answers
62 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
54 views

Individual ColorFunction with RGBColor

I want to create a special ColorFunction with RGBColor for my DensityPlot. A nice example is ...
1
vote
0answers
41 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
40 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
51 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
164 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
211 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
1answer
107 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
163 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
91 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
60 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. ...
0
votes
1answer
205 views

Calculate the centroid of a group of pixels with the same PixelValuePositions

My question is about how to recognise objects in a image. I would like to recognise objects of the same color. Then I want to calculate the centroid of these objects. I want to apply this calculation ...
0
votes
4answers
163 views

Plot graphs with ListPointPlot3D and different colours and size of points

Hello I am New in Mathematica. I have a set of points and I want to visualize in Wolfram Mathematica. I want to see big blue points and small green points in one picture. Big Blue points ...
0
votes
1answer
56 views

Importing colors from file

I just tried something straightforward (for me): ...
0
votes
1answer
114 views

ListDensityPlot with discrete bins [duplicate]

We consider a table of the form data = Flatten[Table[{i,j,f[i,j]},{i,1,ni},{j,1,nj}],1] The function f[i_,j_] has been made ...
0
votes
1answer
60 views

Preventing Colors of Graphics from Blending

I am displaying multiple Disks that overlap and many of the Disks are different colors. Currently, the regions in which the Disks overlap are a color that is a mixture of the two Disks. I would like ...
0
votes
1answer
65 views

Explanation for coloring of variables by code editor?

I was working on some homework just now, and I realized that some of my variables have different colors, and I am not sure why. In the example below f is black, ...
0
votes
1answer
96 views

shade plane with a color function color(x,y)

I am making a RGB color function which assigns an RGB color to each point in the plane. To check if it does what I think it should do (i.e. debugging it), it is helpful to be able to plot the function ...
0
votes
2answers
169 views

How can I get a PieChart to be colored as I wish?

How to use the value of a funtion[label] to assign color to a piece of the pie? (edited after answer of kguler ) My dude is how to control the colors in ranges of a function of [labels] In this way ...
0
votes
1answer
239 views

how to dynamically change color of setterbar

I have a SetterBar with 3 values. I want that when I hover the cursor on any of the SetterBar value,it changes its color and ...
0
votes
1answer
111 views

Density map strange mapping of color

I tried to convince Mathematica 8 to plot a density map of a function: $$f(x,y) = \frac{2(x^2 - y^2)-1}{(x^2 + y^2)^2}$$ with color scheme called "TemperatureMap". At $x = \pm 1$, $y = 0$ it's ...
0
votes
1answer
44 views

How to known exactly what color assign “TemperatureMap” to a particular value? [closed]

Usually ColorData["TemperatureMap"] is using to coloring graphs and show how near is any value to 0(Blue), 1(Red), or in the mean (White). The question is: How ...
0
votes
1answer
138 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 ...
0
votes
1answer
65 views

ColorFunction that depends on angle of line

I have a ListLinePlot, and I want the ColorFunction to vary as the angle, so that the color of the whole line depends on its angle from the x-axis. Here is a MWE of what I am doing: ...
0
votes
0answers
20 views

Different color for plots inside manipulate object [duplicate]

I want to plot two functions in the same plot (meand and approxmean) with a different color. When I place the plot commands outside of the manipulate and grid region they are colored differently but ...
0
votes
0answers
21 views

ColorFunctionScaling [duplicate]

I am using ColorFunctionScaling in my plot but I don't want it to automatically make the min 0 and max 1. I want it to follow a fixed scale depending on height(or ...
0
votes
0answers
85 views

complicated color function and color bar legend (summary of the results from previous relevant posts)

At first let me apologize. I should have read the policies of this forum before attempting a post. I was more accustomed to a moderated forum like MathGroup than such an active one like the ...
0
votes
0answers
77 views

puzzled with ColorData

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. ...
0
votes
0answers
62 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: ...
0
votes
0answers
141 views

Visualization of Gaussian Curvature

I need to visualize Gaussian Curvature of a parametric surface. there is a solution here How to visualize the Gaussian curvature of a 3D surface? but Im not sure its working because when I draw a ...
0
votes
0answers
17 views

different densityplots with same color range [duplicate]

for example, lets say there're two functions f1 and f2. 0<=f1<=1, 2<=f2<=3 but the two differs only by constants. (e.g. f1[x_,y_]:=(Sin[x]Sin[y])^2, f2[x_,y_]:=(Sin[x]Sin[y])^2+2) what i ...
0
votes
0answers
272 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 ...
0
votes
0answers
160 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 ...
0
votes
0answers
74 views
-8
votes
2answers
492 views

Color plot markers using If statement

I am calculating eigenvlaues. Some are negative, some are positive. I define the index nn and mm (as well as np and mp) of each matrix element by some functions that assign positive, zero and negative ...