Re: Graphic simple?
- To: mathgroup at smc.vnet.net
- Subject: [mg18278] Re: [mg18251] Graphic simple?
- From: "David Park" <djmp at earthlink.net>
- Date: Fri, 25 Jun 1999 15:05:23 -0400
- Sender: owner-wri-mathgroup at wolfram.com
>Hi, all >I don't know why the mathematica don't plot well this sinple graphic > >Plot[t-(t-1) UnitStep[t-1],{t,0,5}] > >Bye >-- >Jesus Perez Ortega >jesper at bqto.unexpo.edu.ve > Jesus, The plot doesn't look correct because Mathematica has automatically restricted the PlotRange to what IT thinks is interesting. This is not always what WE think is interesting! The solution is to specify the PlotRange as All or make it just what you want. Look up PlotRange in Help for more information. So this will work. Plot[t - (t - 1) UnitStep[t - 1], {t, 0, 5}, PlotRange -> All]; David Park djmp at earthlink.net http://home.earthlink.net/~djmp/