MathGroup Archive 2004

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

Search the Archive

Re: Problems with Plot in Mathematica 4.0


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