Hard, soft and half threshold operators
Plots the so-called hard (green), soft(blue) and half(red) threshold functions, which are used in signal/image processing.
They are defined as a single-valued selection of the proximal operator corresponding respectively to and