RE: Overlay graphs

*To*: mathgroup at smc.vnet.net*Subject*: [mg48850] RE: [mg48829] Overlay graphs*From*: "David Turner" <dturner at faulkner.edu>*Date*: Sat, 19 Jun 2004 04:30:50 -0400 (EDT)*Sender*: owner-wri-mathgroup at wolfram.com

Josef, Try gr1:=Plot[Sin[x],{x,0,Pi/4},DisplayFunction->Identity]; gr2:=Plot[Cos[x],{x,Pi/4,Pi/2},DisplayFunction->Identity]; Show[{gr1,gr2},DisplayFunction->$DisplayFunction]; -----Original Message----- From: JosefG [mailto:J_o_s_e_f at hotmail.com] To: mathgroup at smc.vnet.net Sent: Fri 6/18/2004 1:12 AM To: mathgroup at smc.vnet.net Cc: Subject: [mg48850] [mg48829] Overlay graphs 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