Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2004
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*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: 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.


  • Prev by Date: Re: Re: GridPlot
  • Next by Date: Re: Export problem with Mathematica 4.1/Mac OS 9
  • Previous by thread: Re: Problems with Plot in Mathematica 4.0
  • Next by thread: adding subset of interpolating function from a system of ODE