Most of the functions we look at in high school math are continuous everywhere they are defined. But not always. Graphing piecewise functions with software requires defining the function on distinct intervals. Grapher (on the Mac) provides a nice facility for this, as does desmos.
If you have trouble with the Grapher file, here are the equations:
Click on the desmos graphic below to see how it can be done online: