Re: how to plot 2 functions in different colors?

*To*: mathgroup at smc.vnet.net*Subject*: [mg33607] Re: [mg33583] how to plot 2 functions in different colors?*From*: "Germ\141n" <gerbual at col2.telecom.com.co>*Date*: Wed, 3 Apr 2002 01:13:43 -0500 (EST)*References*: <200204020836.DAA03680@smc.vnet.net>*Sender*: owner-wri-mathgroup at wolfram.com

It is very easy. Here is an example: In[1]:= fa[x_] := Sin[x] In[2]:= fb[x_] := Cos[x] In[3]:= Plot[{fa[x], fb[x]}, {x, 0, 2Pi}, PlotStyle -> {RGBColor[1, 0, 0], RGBColor[0, 0, 1]}] See your Mathematica Book, Section 1.9.3. Germán ----- Original Message ----- From: "Guojun Zhu" <gzhu1 at uiuc.edu> To: mathgroup at smc.vnet.net Subject: [mg33607] [mg33583] how to plot 2 functions in different colors? > 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 > >

**References**:**how to plot 2 functions in different colors?***From:*"Guojun Zhu" <gzhu1@uiuc.edu>