Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 26956

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

9 votes

About Hue's period

Hue is a periodic function. However, from the documentation: Image[data,"type"] coerces values in data to the specified type by rounding or clipping. So as argument to image, negative hues are e …
LLlAMnYP's user avatar
  • 11.5k
1 vote

How do I color an Image generated from data such that one range of values is one color gradi...

Use ColorFunction. Plot[Sin[500 x], {x, 0, 1}, ColorFunction -> Function[{x, y}, Piecewise[ {{RGBColor[0, 0, 1 - 2 y], 0 <= y < .5}, {RGBColor[2 (y - .5), 0, 0], . …
LLlAMnYP's user avatar
  • 11.5k
7 votes
Accepted

Create a nonlinear color function

If you want abrupt changes in color, Piecewise seems more appropriate. …
LLlAMnYP's user avatar
  • 11.5k
2 votes
Accepted

Adding circles on a function plot depending on the slope

Might you be looking for this? The modifications are in the addition of the zeros table (though it would be much better to write down an analytical expression) and the rule for Epilog acts on it acco …
LLlAMnYP's user avatar
  • 11.5k
14 votes
Accepted

How to fill curves with a color gradient?

Such a filling is possible with ParametricPlot. ParametricPlot[{x, x (Sin[x] + o)}, {x, 0, 4 Pi}, {o, -0.5, .5}, ColorFunction -> (ColorData["Rainbow"][#4] &), AspectRatio -> 1/GoldenRatio, Frame …
LLlAMnYP's user avatar
  • 11.5k