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: [mg33590] Re: how to plot 2 functions in different colors?
  • From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
  • Date: Wed, 3 Apr 2002 01:13:11 -0500 (EST)
  • Organization: Universitaet Leipzig
  • References: <a8bqpf$3kn$1@smc.vnet.net>
  • Reply-to: kuska at informatik.uni-leipzig.de
  • Sender: owner-wri-mathgroup at wolfram.com

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?