MathGroup Archive 2002

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

Search the Archive

Re: how to plot 2 functions in different colors?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg33599] Re: [mg33583] how to plot 2 functions in different colors?
  • From: Tomas Garza <tgarza01 at prodigy.net.mx>
  • Date: Wed, 3 Apr 2002 01:13:22 -0500 (EST)
  • References: <200204020836.DAA03680@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

The straightforward way:

In[1]:=
Plot[{Sin[x], Cos[x]}, {x, -Pi, Pi},
  PlotStyle -> {Hue[0.7], Hue[1]}];

Tomas Garza
Mexico City
----- Original Message -----
From: "Guojun Zhu" <gzhu1 at uiuc.edu>
To: mathgroup at smc.vnet.net
Subject: [mg33599] [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
>
>



  • Prev by Date: Quadratic programming
  • Next by Date: Re: how to plot 2 functions in different colors?
  • Previous by thread: how to plot 2 functions in different colors?
  • Next by thread: Re: how to plot 2 functions in different colors?