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: [mg48861] Re: Overlay graphs
  • From: "Peter Pein" <petsie at>
  • Date: Sat, 19 Jun 2004 04:31:24 -0400 (EDT)
  • References: <cau1ru$alc$>
  • Sender: owner-wri-mathgroup at

"JosefG" <J_o_s_e_f at> schrieb im Newsbeitrag
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
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