Linked Questions

6 votes
1 answer
2k views

Controlling ColorFunctionScaling [duplicate]

Is there a way to control the scaling of ColorFunction beside just to turn it off and on with ColorFunctionScaling? Two problems ...
user avatar
  • 8,299
5 votes
2 answers
4k views

Set the scale in ColorFunction [duplicate]

The following plot (A) ListLinePlot[{0,1,2,3},ColorFunction->"TemperatureMap"] goes from blue to read. The following plot (B) ...
user avatar
  • 1,284
3 votes
2 answers
1k views

Individual ColorFunction with RGBColor [duplicate]

I want to create a custom ColorFunction using RGBColor for my DensityPlot. A nice example is ...
user avatar
  • 2,062
1 vote
1 answer
515 views

Help with ColorFunction [duplicate]

I'm trying to graph a list of data with ListDensityPlot. My idea is to color negative values in red, zero in white and positive values in blue. I created a ...
user avatar
  • 597
0 votes
1 answer
122 views

ColorFunction causing division by zero error (going outside domain?) [duplicate]

On the following plot example, I get a division by zero error (10.4.1): ...
user avatar
  • 6,495
0 votes
1 answer
73 views

Strange output of ColorFunction [duplicate]

In v10.0.2, compare the following two outputs: Plot3D[x^2 + y^2, {x, -2, 2}, {y, -2, 2}, ColorFunction -> (Hue[Sqrt[#1^2 + #2^2]] &)] ...
user avatar
  • 2,712
4 votes
2 answers
1k views

One fill color for a curve when it is above the x-axis and another when it is below [duplicate]

I want to use a different fill for a plot when the curve goes below the x-axis than when it's above that. I tried: ...
user avatar
  • 143
4 votes
2 answers
824 views

ColorFunction based on data

I have a list of numbers, and I would like to plot them using ArrayPlot (which is easy, usually :)). I would like to be able to color the elements of the plot based on the average of the list: one ...
user avatar
  • 999
5 votes
2 answers
361 views

ColorFunction uses graphics coordinates instead of Plot3D coordinates

I've had the same effect in Mathematica 9 and 10. I'm trying to color a 3D Plot with another function, let's call it colorFun ( it should highlight the areas where the colorFun is above a certain ...
user avatar
1 vote
2 answers
191 views

ColorFunction or PlotStyle Based on List

I am plotting the values of a continuous, but complicated function Energy[x_] via ListLinePlot. Another function ...
user avatar
  • 171