Graphs of piecewise nonlinear functions