MathGroup Archive 2004

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

Search the Archive

Re: Problems with Plot in Mathematica 4.0


Hi,

Plot[
  Which[
    x < 0, 0.5x^2 - x,
    True, -0.5x^2 + x], {x, -3, 3}]

Regards
  Jens

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 -


  • Prev by Date: Re: Numeric methods. Orthogonal polynomials.
  • Next by Date: Re: Problems with Plot in Mathematica 4.0
  • Previous by thread: Re: Problems with Plot in Mathematica 4.0
  • Next by thread: Re: Problems with Plot in Mathematica 4.0