Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2004

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

Search the Archive

Re: Overlay graphs

  • To: mathgroup at
  • Subject: [mg48967] Re: Overlay graphs
  • From: "Steve Luttrell" <steve_usenet at>
  • Date: Fri, 25 Jun 2004 02:58:41 -0400 (EDT)
  • References: <cau1ru$alc$> <cbe8lm$rmb$>
  • Sender: owner-wri-mathgroup at

If you want to solve for the intersection points then do this:

Reduce[Sin[x] == Cos[x], x]

which gives the result:

C[1] \[Element] Integers &&
(x == -2*ArcTan[1 + Sqrt[2]] + 2*Pi*C[1] ||
x == -2*ArcTan[1 - Sqrt[2]] + 2*Pi*C[1])

Steve Luttrell

"JosefG" <J_o_s_e_f at> wrote in message
news:cbe8lm$rmb$1 at
> Thanks for your help, but that's not quite what I need. 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.
> Thank you again,
> Josef
> J_o_s_e_f at (JosefG) wrote in message
news:<cau1ru$alc$1 at>...
> > I was wondering how to overlay graphs in Mathmatica. I need to
> > overlay:         Plot[Sin{(x)},{x,0,Pi/4}] and
> > Plot[{Cos(x)},{x,Pi/4,Pi/2}]. I don't know how to do it. A phase shift
> > doesn't work because I need the data from the original points.
> >
> >  Thanks alot,
> >
> > Josef

  • Prev by Date: Re: Printing Rotated Text from a Mac
  • Next by Date: Fourier Transform with Differential Equation
  • Previous by thread: Re: Overlay graphs
  • Next by thread: Re: Re: Overlay graphs