Axes now clip to window.

The axes will be drawn through the origin if it is onscreen, otherwise
they will be placed at the edge of the plot nearest the origin. Tick
marks and labels are also drawn in their same position relative to the
axis.