Draws piecewise-smooth plots of functions.