MathGroup Archive 2002

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

Search the Archive

Re: how to plot 2 functions in different colors?


Hi,

?PlotStyle

may help you

Plot[{Sin[x], Cos[x]}, {x, 0, 2Pi}, 
  PlotStyle -> {{AbsoluteThickness[1]}, {RGBColor[1, 0, 0], 
        AbsoluteThickness[2], AbsoluteDashing[{4, 4}]}}]

Regards
  Jens

Guojun Zhu wrote:
> 
> I can plot two functions in one diagram with plot[{fa[x],fb[x]},{x,1,100}],
> but they are in same color and hard to seperated.  Is there any way to make
> them in different colors?
> 
> --
> Sincerely Yours
> Guojun Zhu


  • Prev by Date: RE: how to plot 2 functions in different colors?
  • Next by Date: RE: minimization algorithms
  • Previous by thread: RE: how to plot 2 functions in different colors?
  • Next by thread: Re: how to plot 2 functions in different colors?