MathGroup Archive 2004

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

Search the Archive

Re: Overlay graphs

  • To: mathgroup at
  • Subject: [mg48974] Re: Overlay graphs
  • From: Bill Rowe <readnewsciv at>
  • Date: Fri, 25 Jun 2004 02:58:53 -0400 (EDT)
  • Sender: owner-wri-mathgroup at

On 6/24/04 at 5:36 AM, J_o_s_e_f at (JosefG) wrote:

>I would like for the graph to show Plot[Sin[x], {x,0,Pi/4}] lie on
>top of Plot[Cos[x],{x,Pi/4,Pi/2}]. I am looking for intersection
>points of some sine and cosine waves to be more specific. I have
>tried to solve for the intersection points, but that doesn't seem
>to work.

Plot[{Sin[x], Cos[x]}, {x, 0, 2*Pi}, PlotStyle -> 
    {Hue[0], Hue[0.6]}, Ticks -> {Range[0, 2*Pi, 
      Pi/4], Automatic}]; 
Will give you the plot you seem to want.

But I don't understand why you seem to be unable to solve for the intersection points

Did you try

In[1]:=Solve[Sin[x] == Cos[x], x]
Out[1]={{x -> (-(1/4))*(3*Pi)}, {x -> Pi/4}}
To reply via email subtract one hundred and four

  • Prev by Date: Mathematica and Suse Linux 9.1
  • Next by Date: AW: multigraphics
  • Previous by thread: Re: Overlay graphs
  • Next by thread: Re: Overlay graphs