MathGroup Archive 2004

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

Search the Archive

RE: Overlay graphs


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
	
	


  • Prev by Date: RE: Overlay graphs
  • Next by Date: Re: Overlay graphs
  • Previous by thread: RE: Overlay graphs
  • Next by thread: Re: Overlay graphs