MathGroup Archive 2004

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

Search the Archive

Re: Overlay graphs

  • To: mathgroup at smc.vnet.net
  • Subject: [mg48861] Re: Overlay graphs
  • From: "Peter Pein" <petsie at arcor.de>
  • Date: Sat, 19 Jun 2004 04:31:24 -0400 (EDT)
  • References: <cau1ru$alc$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

"JosefG" <J_o_s_e_f at hotmail.com> schrieb im Newsbeitrag
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
>
Block[{$DisplayFunction = Identity},
    p1 = Plot[Sin[x], {x, 0, Pi/4}] ;
    p2 = Plot[Cos[x], {x, Pi/4, Pi/2}];];
Show[p1, p2]

-- 
Peter Pein, Berlin
to write to me, start the subject with [





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