MathGroup Archive 2003

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

Search the Archive

Re: UnitStep


Plot may not see features with the default number of PlotPoints.  When you
suspect additional features should be present, increase the number of
PlotPoints.

Plot[{UnitStep[Sin[x] - 6/10], Sin[x] - 6/10}, {x, 0, 60}, PlotPoints -> 100];


Bob Hanlon

In article <b4uavj$qi1$1 at smc.vnet.net>, Knut Henning Schroder
<Knut.Schroder at chem.ntnu.no> wrote:

<< 
Subject:	UnitStep
From:		Knut Henning Schroder <Knut.Schroder at chem.ntnu.no>
To: mathgroup at smc.vnet.net
Date:		Sat, 15 Mar 2003 04:42:27 +0000 (UTC)

In Mathematica 4.0 for windows I use

Plot[{UnitStep[Sin[x] - 6/10], Sin[x] - 6/10}, {x, 0, 60}]

but it seems that some of the pulses are missing, as for x=27 where
UnitStep[Sin[27] - 6/10] =1

Please give me an explanation. >>


  • Prev by Date: Re: discretization and plotting pde system
  • Next by Date: RE: FindRoot problem
  • Previous by thread: Re: UnitStep
  • Next by thread: Re: UnitStep