def plot_quantities(ax, x, xunits, y, yunits, series_label, y_axlabel=None,
    x_axlabel=None):
    """ Utility function that will include the units into the plot."""
    xdata = x >> xunits
    ydata = y >> yunits
