def xy_function(f='<STR_LIT>', xmin=-<NUM_LIT:1>, xmax=<NUM_LIT:1>, steps=<NUM_LIT:200>, p='<STR_LIT:x>', g=None, erange=False, **kwargs):
function(f, xmin, xmax, steps, p, g, erange, plotter=xy_data, **kwargs)<EOL>
Plots function(s) over the specified range.

Parameters
----------
f='sin(x)'                 
    Function or list of functions to plot. 
    These can be string functions or single-argument python functions;
    additional globals can be supplied by g.
xmin=-1, xmax=1, steps=200   
    Range over which to plot and how many points to plot
p='x'
    If using strings for functions, p is the independent parameter name.
g=None               
    Optional dictionary of extra globals. Try g=globals()!
erange=False              
    Use exponential spacing of the x data?

See spinmob.plot.xy.data() for additional optional keyword arguments.