Graphing a piece-wise function (example)