Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1999
*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 1999

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

Search the Archive

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/





  • Prev by Date: Re: Graphic simple?
  • Next by Date: SIMPLIFY AND SQUARE ROOTS
  • Previous by thread: Re: Graphic simple?
  • Next by thread: Re: Graphic simple?