Hot answers tagged

5 votes
Accepted

How can we use specific Color Scheme as PlotStyle in Plot

Method-1 Use ParametricPlot and the tricks by @kglr (but I cann't find the original links now) ...
user avatar
  • 36.4k
4 votes
Accepted

3D Plot - Color function depending of Z value (If statement?)

You need to set ColorFunctionScaling -> False. Otherwise your values are scaled 0...1. Further, PlotPoints ensure nicer ...
user avatar
  • 27.1k
4 votes

3D Plot - Color function depending of Z value (If statement?)

It seems that you also need ColorFunctionScaling->False. For a simpler example, try ...
user avatar
  • 5,203
3 votes

How can we use specific Color Scheme as PlotStyle in Plot

Alternatively Show[ Table[Plot[n Sin[x], {x, -\[Pi], \[Pi]},PlotStyle -> ColorData["Rainbow"][n/11] ] , {n,1, 11}] ,PlotRange -> All]
user avatar

Only top scored, non community-wiki answers of a minimum length are eligible