Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2004
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*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 smc.vnet.net
  • Subject: [mg48990] Re: Overlay graphs
  • From: J_o_s_e_f at hotmail.com (JosefG)
  • Date: Fri, 25 Jun 2004 17:52:38 -0400 (EDT)
  • References: <cau1ru$alc$1@smc.vnet.net> <cbe8lm$rmb$1@smc.vnet.net> <cbgkcv$ckt$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

How do I do this when Cos[x],{x,Pi/4,Pi/2} and Sin[x],{x,0,Pi/4} have
different domains?

Josef

"Steve Luttrell" <steve_usenet at _removemefirst_luttrell.org.uk> wrote in message news:<cbgkcv$ckt$1 at smc.vnet.net>...
> 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 hotmail.com> wrote in message
> news:cbe8lm$rmb$1 at smc.vnet.net...
> > 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 hotmail.com (JosefG) wrote in message
>  news:<cau1ru$alc$1 at smc.vnet.net>...
> > > 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: Clarification [Re: Overlay graphs ]
  • Next by Date: Re: Fourier Transform with Differential Equation
  • Previous by thread: Re: Re: Overlay graphs
  • Next by thread: HP (Agilent) data format and importing into Mathematica