def _get_xdata_for_function(self, n, xdata):
<EOL>if self['<STR_LIT>'][n] in [None, <NUM_LIT:0>]: return _n.array(xdata)<EOL>if self['<STR_LIT>'][n] == '<STR_LIT>':<EOL><INDENT>return _n.logspace(_n.log10(min(xdata)), _n.log10(max(xdata)),<EOL>self['<STR_LIT>'][n], True, <NUM_LIT>)<EOL><DEDENT>else:<EOL><INDENT>return _n.linspace(min(xdata), max(xdata), self['<STR_LIT>'][n])<EOL><DEDENT>
Generates the x-data for plotting the function.

Parameters
----------
n
    Which data set we're using
xdata
    Data set upon which to base this

Returns
-------
float