Re: Problems with Plot in Mathematica 4.0
- To: mathgroup at smc.vnet.net
 - Subject: [mg45837] Re: Problems with Plot in Mathematica 4.0
 - From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
 - Date: Tue, 27 Jan 2004 04:50:30 -0500 (EST)
 - Organization: Universitaet Leipzig
 - References: <bv2f3b$2g$1@smc.vnet.net>
 - Reply-to: kuska at informatik.uni-leipzig.de
 - Sender: owner-wri-mathgroup at wolfram.com
 
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 -