Re: Problems with Plot in Mathematica 4.0
- To: mathgroup at smc.vnet.net
- Subject: [mg45829] Re: [mg45806] Problems with Plot in Mathematica 4.0
- From: "Ravinder Kumar B." <ravi at crest.ernet.in>
- Date: Tue, 27 Jan 2004 04:50:24 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
Do as follows: p1 = Plot[ .5x^2 - x, {x, -3, 3}, DisplayFunction -> Identity]; p2 = Plot[- .5x^2 + x, {x, 0, 3}, DisplayFunction -> Identity]; Show[p1, p2, DisplayFunction -> $DisplayFunction]\) On Mon, 26 Jan 2004, Manfred Fischer wrote: > Hi, > > I want to plot the two functions in one Plot output > +0.5x^2-x (definition-range -3<=x<=0) > -0.5x^2+x (definition-range 0<=x<=3) > > I can't find a mathematica 4.0 solution, please help! > > -ManFis - > > > -- Regards, Jan 26 Ravi |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| | Ravinder Kumar Banyal (SRF), | | Indian Institute of Astrophysics, | | Koramangala Bangalore - 560 034. INDIA | | email : banyal at iiap.ernet.in ; ravi at crest.ernet.in | | Ph No : 080 5530672 (IIA) 080 7931972 (Hoskote) | | 7931952 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ All that is necessary for the triumph of evil is that enough good men do nothing --Edmund Burke.