Building a step function in Mathematica

I am trying to build a couple of UnitStep functions, but for some reason, Mathematica will not build the whole function - just the top (this does not look like a step, it looks more like a line).

How can I tell math to build all this?

+8
wolfram-mathematica
source share
1 answer

An alternative to setting Exclusions -> None is setting ExclusionsStyle -> {style} if you want to draw line segments connecting breaks in a different style from the rest of the curve. for example

 Plot[Round[n], {n, 0, 5}, ExclusionsStyle -> {Dashed}] 

Mathematica graphics

+13
source share

All Articles