Re: UnitStep
- To: mathgroup at smc.vnet.net
- Subject: [mg40048] Re: UnitStep
- From: bobhanlon at aol.com (Bob Hanlon)
- Date: Mon, 17 Mar 2003 03:35:05 -0500 (EST)
- References: <b4uavj$qi1$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
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. >>