MathGroup Archive 2008

[Date Index] [Thread Index] [Author Index]

Search the Archive

Colors in Plot[]


Hello,
It is interesting behavour and I do not understand the reason for
this:

g[x_, n_] := x^n
Plot[g[x, 1], {x, 0, 1}]
Plot[g[x, 1], {x, 0, 1}, PlotStyle -> {Red, Blue}]
Plot[g[x, 1], {x, 0, 1}, PlotStyle -> {Red, Red}]

Why the second plot is Blue but the third is Red?


  • Next by Date: Manipulate[] concurrent sliders
  • Next by thread: Re: Colors in Plot[]