# How to properly plot a unit pulse? [duplicate]

I am using this function to plot

Plot[2*DiracDelta[t + 3], {t, -3.09, -2.99}, PlotStyle -> Thick,
AxesLabel -> {t, x[t]}, PlotLegends -> "Expressions",
Filling -> Axis]


but in the plot it's hard to see where it is.

So maybe there is a function to use, but I couldn't find it.

## marked as duplicate by MarcoB, Community♦Feb 7 '16 at 23:51

A plot of DiracDelta is at best an approximation to the behavior of the underlying mathematical construct. This has been discussed before on this site; see for instance Calling Correct Function for Plotting DiracDelta and the answers within.
ListLinePlot[