1607 lines (1291 with data), 128.3 kB
@header@
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
<tr bgcolor="#7799ee">
<td valign=bottom> <br>
<font color="#ffffff" face="helvetica, arial"> <br><big><big><strong><a href="matplotlib.html"><font color="#ffffff">matplotlib</font></a>.axes</strong></big></big></font></td
><td align=right valign=bottom
><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="/matplotlib/axes.py">/matplotlib/axes.py</a></font></td></tr></table>
<p><tt>API changes<br>
<br>
<br>
- <a href="matplotlib.artist.html#Artist">Artist</a><br>
* __init__ takes a DPI instance and a Bound2D instance which is<br>
the bounding box of the artist in display coords<br>
* get_window_extent returns a Bound2D instance<br>
* set_size is removed; replaced by bbox and dpi<br>
* the clip_gc method is removed. Artists now clip themselves with<br>
their box<br>
* added _clipOn boolean attribute. If True, gc clip to bbox.<br>
<br>
- AxisTextBase<br>
* Initialized with a transx, transy which are Transform instances<br>
* set_drawing_area removed<br>
* get_left_right and get_top_bottom are replaced by get_window_extent<br>
<br>
- Line2D Patches now take transx, transy<br>
* Initialized with a transx, transy which are Transform instances<br>
<br>
- Patches<br>
* Initialized with a transx, transy which are Transform instances<br>
<br>
- FigureBase attributes dpi is a DPI intance rather than scalar and<br>
new attribute bbox is a Bound2D in display coords, and I got rid of<br>
the left, width, height, etc... attributes. These are now<br>
accessible as, for example, bbox.x.min is left, bbox.x.interval() is<br>
width, bbox.y.max is top, etc...<br>
<br>
- GcfBase attribute pagesize renamed to figsize<br>
<br>
- <a href="#Axes">Axes</a><br>
* removed figbg attribute<br>
* added fig instance to __init__<br>
* resizing is handled by figure call to resize.<br>
<br>
- <a href="#Subplot">Subplot</a><br>
* added fig instance to __init__<br>
<br>
- Renderer methods for patches now take gcEdge and gcFace instances.<br>
gcFace=None takes the place of filled=False<br>
<br>
- True and False symbols provided by cbook in a python2.3 compatible<br>
way<br>
<br>
- new module transforms supplies Bound1D, Bound2D and Transform<br>
instances and more<br>
<br>
- Changes to the matlab helpers API<br>
<br>
* _matlab_helpers.GcfBase is renamed by Gcf. Backends no longer<br>
need to derive from this class. Instead, they provide a factory<br>
function new_figure_manager(num, figsize, dpi). The destroy<br>
method of the GcfDerived from the backends is moved to the derived<br>
FigureManager.<br>
<br>
* FigureManagerBase moved to backend_bases<br>
<br>
* Gcf.get_all_figwins renamed to Gcf.get_all_fig_managers<br>
<br>
Jeremy:<br>
<br>
Make sure to self.<strong>_reset</strong> = False in AxisTextWX._set_font. This was<br>
something missing in my backend code.<br>
<br>
KNOWN BUGS<br>
<br>
- DONE - Circle needs to provide window extent -- see scatter demo<br>
<br>
- DONE - axes patch edge on gtk backend not complete<br>
<br>
- DONE - autoscale on y not satisfactory -- see histogram demo<br>
<br>
- with multiple subplots there is a small gap between the bottom of<br>
the xtick1 line and the axes patch edge. see subplot_demo<br>
<br>
- DONE 2003-11-14 - lowest line position is off in legend_demo<br>
<br>
- the markers for circ and square in the gtk backend do not have the<br>
same center. See the stock_demo for example.<br>
<br>
- DONE 2003-11-16 - GD port of new API not done<br>
<br>
- DONE 2003-11-16 - xticklabels in PS backend need clip<br>
<br>
- x and y ticklabels overlap at origin<br>
<br>
OUTSTANDING ISSUES<br>
<br>
- rationalize DPI between backends - config file?<br>
<br>
- let the user pass the default font to the axes so that the text<br>
labels, tick labels, etc, can all be updated</tt></p>
<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#aa55cc">
<td colspan=3 valign=bottom> <br>
<font color="#fffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr>
<tr><td bgcolor="#aa55cc"><tt> </tt></td><td> </td>
<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="MLab.html">MLab</a><br>
<a href="matplotlib.backends.html">matplotlib.backends</a><br>
</td><td width="25%" valign=top><a href="math.html">math</a><br>
<a href="matplotlib.mlab.html">matplotlib.mlab</a><br>
</td><td width="25%" valign=top><a href="re.html">re</a><br>
<a href="sys.html">sys</a><br>
</td><td width="25%" valign=top></td></tr></table></td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ee77aa">
<td colspan=3 valign=bottom> <br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr>
<tr><td bgcolor="#ee77aa"><tt> </tt></td><td> </td>
<td width="100%"><dl>
<dt><font face="helvetica, arial"><a href="matplotlib.artist.html#Artist">matplotlib.artist.Artist</a>
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="matplotlib.axes.html#Axes">Axes</a>
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="matplotlib.axes.html#Subplot">Subplot</a>
</font></dt></dl>
</dd>
<dt><font face="helvetica, arial"><a href="matplotlib.axes.html#Axis">Axis</a>
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="matplotlib.axes.html#XAxis">XAxis</a>
</font></dt><dt><font face="helvetica, arial"><a href="matplotlib.axes.html#YAxis">YAxis</a>
</font></dt></dl>
</dd>
<dt><font face="helvetica, arial"><a href="matplotlib.axes.html#Legend">Legend</a>
</font></dt><dt><font face="helvetica, arial"><a href="matplotlib.axes.html#Tick">Tick</a>
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="matplotlib.axes.html#XTick">XTick</a>
</font></dt><dt><font face="helvetica, arial"><a href="matplotlib.axes.html#YTick">YTick</a>
</font></dt></dl>
</dd>
</dl>
</dd>
</dl>
<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom> <br>
<font color="#000000" face="helvetica, arial"><a name="Axes">class <strong>Axes</strong></a>(<a href="matplotlib.artist.html#Artist">matplotlib.artist.Artist</a>)</font></td></tr>
<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td>
<td colspan=2><tt>Emulate matlab's axes command, creating axes with<br>
<br>
<a href="#Axes">Axes</a>(position=[left, bottom, width, height])<br>
<br>
where all the arguments are fractions in [0,1] which specify the<br>
fraction of the total figure window. <br>
<br>
axisbg is the color of the axis background<br> </tt></td></tr>
<tr><td> </td>
<td width="100%">Methods defined here:<br>
<dl><dt><a name="Axes-__init__"><strong>__init__</strong></a>(self, fig, position, axisbg<font color="#909090">='w'</font>)</dt></dl>
<dl><dt><a name="Axes-add_line"><strong>add_line</strong></a>(self, line)</dt><dd><tt>Add a line to the list of plot lines</tt></dd></dl>
<dl><dt><a name="Axes-add_patch"><strong>add_patch</strong></a>(self, patch)</dt><dd><tt>Add a line to the list of plot lines</tt></dd></dl>
<dl><dt><a name="Axes-bar"><strong>bar</strong></a>(self, x, y, width<font color="#909090">=0.80000000000000004</font>, color<font color="#909090">='b'</font>, yerr<font color="#909090">=None</font>, xerr<font color="#909090">=None</font>, capsize<font color="#909090">=3</font>)</dt><dd><tt>Make a bar plot with rectangles at x, x+width, 0, y<br>
x and y are Numeric arrays<br>
<br>
Return value is a list of Rectangle patch instances<br>
<br>
xerr and yerr, if not None, will be used to generate errorbars<br>
on the bar chart</tt></dd></dl>
<dl><dt><a name="Axes-clear"><strong>clear</strong></a>(self)</dt></dl>
<dl><dt><a name="Axes-cohere"><strong>cohere</strong></a>(self, x, y, NFFT<font color="#909090">=256</font>, Fs<font color="#909090">=2</font>, detrend<font color="#909090">=<function detrend_none></font>, window<font color="#909090">=<function window_hanning></font>, noverlap<font color="#909090">=0</font>)</dt><dd><tt>cohere the coherence between x and y. Coherence is the normalized<br>
cross spectral density<br>
<br>
Cxy = |Pxy|^2/(Pxx*Pyy)<br>
<br>
The return value is (Cxy, f), where f are the frequencies of the<br>
coherence vector. See the docs for psd and csd for information<br>
about the function arguments NFFT, detrend, windowm noverlap, as<br>
well as the methods used to compute Pxy, Pxx and Pyy.<br>
<br>
Returns the tuple Cxy, freqs<br>
<br>
Refs:<br>
Bendat & Piersol -- Random Data: Analysis and Measurement<br>
Procedures, John Wiley & Sons (1986)</tt></dd></dl>
<dl><dt><a name="Axes-csd"><strong>csd</strong></a>(self, x, y, NFFT<font color="#909090">=256</font>, Fs<font color="#909090">=2</font>, detrend<font color="#909090">=<function detrend_none></font>, window<font color="#909090">=<function window_hanning></font>, noverlap<font color="#909090">=0</font>)</dt><dd><tt>The cross spectral density Pxy by Welches average periodogram<br>
method. The vectors x and y are divided into NFFT length<br>
segments. Each segment is detrended by function detrend and<br>
windowed by function window. noverlap gives the length of the<br>
overlap between segments. The product of the direct FFTs of x and<br>
y are averaged over each segment to compute Pxy, with a scaling to<br>
correct for power loss due to windowing. Fs is the sampling<br>
frequency.<br>
<br>
NFFT must be a power of 2<br>
<br>
detrend and window are functions, unlike in matlab where they are<br>
vectors. For detrending you can use detrend_none, detrend_mean,<br>
detrend_linear or a custom function. For windowing, you can use<br>
window_none, window_hanning, or a custom function<br>
<br>
Returns the tuple Pxy, freqs. Pxy is the cross spectrum (complex<br>
valued), and 10*log10(|Pxy|) is plotted<br>
<br>
Refs:<br>
Bendat & Piersol -- Random Data: Analysis and Measurement<br>
Procedures, John Wiley & Sons (1986)</tt></dd></dl>
<dl><dt><a name="Axes-errorbar"><strong>errorbar</strong></a>(self, x, y, yerr<font color="#909090">=None</font>, xerr<font color="#909090">=None</font>, fmt<font color="#909090">='b-'</font>, capsize<font color="#909090">=3</font>)</dt><dd><tt>Plot x versus y with error deltas in yerr and xerr.<br>
Vertical errorbars are plotted if yerr is not None<br>
Horizontal errorbars are plotted if xerr is not None<br>
<br>
xerr and yerr may be any of:<br>
a rank-0, Nx1 Numpy array - symmetric errorbars +/- value<br>
an N-element list or tuple - symmetric errorbars +/- value<br>
a rank-1, Nx2 Numpy array - asymmetric errorbars -column1/+column2<br>
<br>
fmt is the plot format symbol for y. if fmt is None, just<br>
plot the errorbars with no line symbols. This can be useful<br>
for creating a bar plot with errorbars<br>
<br>
Return value is a length 2 tuple. The first element is a list of<br>
y symbol lines. The second element is a list of error bar lines.<br>
<br>
capsize is the size of the error bar caps in points</tt></dd></dl>
<dl><dt><a name="Axes-get_axis_bgcolor"><strong>get_axis_bgcolor</strong></a>(self)</dt><dd><tt>Return the axis background color</tt></dd></dl>
<dl><dt><a name="Axes-get_child_artists"><strong>get_child_artists</strong></a>(self)</dt></dl>
<dl><dt><a name="Axes-get_xaxis"><strong>get_xaxis</strong></a>(self)</dt><dd><tt>Return the <a href="#XAxis">XAxis</a> instance</tt></dd></dl>
<dl><dt><a name="Axes-get_xgridlines"><strong>get_xgridlines</strong></a>(self)</dt><dd><tt>Get the x grid lines as a list of Line2D instances</tt></dd></dl>
<dl><dt><a name="Axes-get_xlim"><strong>get_xlim</strong></a>(self)</dt><dd><tt>Get the x axis range [xmin, xmax]</tt></dd></dl>
<dl><dt><a name="Axes-get_xticklabels"><strong>get_xticklabels</strong></a>(self)</dt><dd><tt>Get the xtick labels as a list of AxisText instances</tt></dd></dl>
<dl><dt><a name="Axes-get_xticklines"><strong>get_xticklines</strong></a>(self)</dt><dd><tt>Get the xtick lines as a list of Line2D instances</tt></dd></dl>
<dl><dt><a name="Axes-get_xticks"><strong>get_xticks</strong></a>(self)</dt><dd><tt>Return the x ticks as a list of locations</tt></dd></dl>
<dl><dt><a name="Axes-get_yaxis"><strong>get_yaxis</strong></a>(self)</dt><dd><tt>Return the <a href="#YAxis">YAxis</a> instance</tt></dd></dl>
<dl><dt><a name="Axes-get_ygridlines"><strong>get_ygridlines</strong></a>(self)</dt><dd><tt>Get the y grid lines as a list of Line2D instances</tt></dd></dl>
<dl><dt><a name="Axes-get_ylim"><strong>get_ylim</strong></a>(self)</dt><dd><tt>Get the y axis range [ymin, ymax]</tt></dd></dl>
<dl><dt><a name="Axes-get_yticklabels"><strong>get_yticklabels</strong></a>(self)</dt><dd><tt>Get the ytick labels as a list of AxisText instances</tt></dd></dl>
<dl><dt><a name="Axes-get_yticklines"><strong>get_yticklines</strong></a>(self)</dt><dd><tt>Get the ytick lines as a list of Line2D instances</tt></dd></dl>
<dl><dt><a name="Axes-get_yticks"><strong>get_yticks</strong></a>(self)</dt><dd><tt>Return the y ticks as a list of locations</tt></dd></dl>
<dl><dt><a name="Axes-grid"><strong>grid</strong></a>(self, b)</dt><dd><tt>Set the axes grids on or off; b is a boolean</tt></dd></dl>
<dl><dt><a name="Axes-hist"><strong>hist</strong></a>(self, x, bins<font color="#909090">=10</font>, normed<font color="#909090">=0</font>)</dt><dd><tt>Compute the histogram of x. bins is either an integer number of<br>
bins or a sequence giving the bins. x are the data to be binned.<br>
<br>
if noplot is True, just compute the histogram and return the<br>
number of observations and the bins as an (n, bins) tuple.<br>
<br>
If noplot is False, compute the histogram and plot it, returning<br>
n, bins, patches<br>
<br>
If normed is true, the first element of the return tuple will be the<br>
counts normalized to form a probability distribtion, ie,<br>
n/(len(x)*dbin)</tt></dd></dl>
<dl><dt><a name="Axes-hlines"><strong>hlines</strong></a>(self, y, xmin, xmax, fmt<font color="#909090">='k-'</font>)</dt><dd><tt>plot horizontal lines at each y from xmin to xmax. xmin or<br>
xmax can be scalars or len(x) numpy arrays. If they are<br>
scalars, then the respective values are constant, else the<br>
widths of the lines are determined by xmin and xmax<br>
<br>
Returns a list of line instances that were added</tt></dd></dl>
<dl><dt><a name="Axes-in_axes"><strong>in_axes</strong></a>(self, xwin, ywin)</dt></dl>
<dl><dt><a name="Axes-legend"><strong>legend</strong></a>(self, *args, **kwargs)</dt><dd><tt>Place a legend on the current axes at location loc. Labels are a<br>
sequence of strings and loc can be a string or an integer<br>
specifying the legend location<br>
<br>
USAGE: <br>
<br>
Make a legend with existing lines<br>
<a href="#Axes-legend">legend</a>( LABELS )<br>
>>> <a href="#Axes-legend">legend</a>( ('label1', 'label2', 'label3') ) <br>
<br>
Make a legend for Line2D instances lines1, line2, line3<br>
<a href="#Axes-legend">legend</a>( LINES, LABELS )<br>
>>> <a href="#Axes-legend">legend</a>( (line1, line2, line3), ('label1', 'label2', 'label3') )<br>
<br>
Make a legend at LOC<br>
<a href="#Axes-legend">legend</a>( LABELS, LOC ) or<br>
<a href="#Axes-legend">legend</a>( LINES, LABELS, LOC )<br>
>>> <a href="#Axes-legend">legend</a>( ('label1', 'label2', 'label3'), loc='upper left')<br>
>>> <a href="#Axes-legend">legend</a>( (line1, line2, line3),<br>
('label1', 'label2', 'label3'),<br>
loc=2)<br>
<br>
The LOC location codes are<br>
<br>
The location codes are<br>
<br>
'best' : 0, (currently not supported, defaults to upper right)<br>
'upper right' : 1, (default)<br>
'upper left' : 2,<br>
'lower left' : 3,<br>
'lower right' : 4,<br>
'right' : 5,<br>
'center left' : 6,<br>
'center right' : 7,<br>
'lower center' : 8,<br>
'upper center' : 9,<br>
'center' : 10,<br>
<br>
Return value is a sequence of text, line instances that make<br>
up the legend</tt></dd></dl>
<dl><dt><a name="Axes-loglog"><strong>loglog</strong></a>(self, *args, **kwargs)</dt><dd><tt>Make a loglog plot with log scaling on the a and y axis. The args<br>
to semilog x are the same as the args to plot. See help plot for<br>
more info</tt></dd></dl>
<dl><dt><a name="Axes-panx"><strong>panx</strong></a>(self, numsteps)</dt><dd><tt>Pan the x axis numsteps (plus pan right, minus pan left)</tt></dd></dl>
<dl><dt><a name="Axes-pany"><strong>pany</strong></a>(self, numsteps)</dt><dd><tt>Pan the x axis numsteps (plus pan up, minus pan down)</tt></dd></dl>
<dl><dt><a name="Axes-pcolor"><strong>pcolor</strong></a>(self, *args, **kwargs)</dt><dd><tt><a href="#Axes-pcolor">pcolor</a>(C) - make a pseudocolor plot of matrix C<br>
<br>
<a href="#Axes-pcolor">pcolor</a>(X, Y, C) - a pseudo color plot of C on the matrices X and Y <br>
<br>
Shading:<br>
<br>
The optional keyword arg shading ('flat' or 'faceted') will<br>
determine whether a black grid is drawn around each pcolor<br>
square. Default 'faceteted'<br>
e.g., <br>
<a href="#Axes-pcolor">pcolor</a>(C, shading='flat') <br>
<a href="#Axes-pcolor">pcolor</a>(X, Y, C, shading='faceted')<br>
<br>
returns a list of patch objects<br>
<br>
Note, the behavior of meshgrid in matlab is a bit<br>
counterintuitive for x and y arrays. For example,<br>
<br>
x = <a href="#-arange">arange</a>(7)<br>
y = <a href="#-arange">arange</a>(5)<br>
X, Y = meshgrid(x,y)<br>
<br>
Z = rand( len(x), len(y))<br>
<a href="#Axes-pcolor">pcolor</a>(X, Y, Z)<br>
<br>
will fail in matlab and matplotlib. You will probably be<br>
happy with<br>
<br>
<a href="#Axes-pcolor">pcolor</a>(X, Y, transpose(Z))<br>
<br>
Likewise, for nonsquare Z,<br>
<br>
<a href="#Axes-pcolor">pcolor</a>(transpose(Z))<br>
<br>
will make the x and y axes in the plot agree with the numrows<br>
and numcols of Z</tt></dd></dl>
<dl><dt><a name="Axes-plot"><strong>plot</strong></a>(self, *args)</dt><dd><tt>Emulate matlab's plot command. *args is a variable length<br>
argument, allowing for multiple x,y pairs with an optional<br>
format string. For example, all of the following are legal,<br>
assuming a is the <a href="#Axis">Axis</a> instance:<br>
<br>
a.<a href="#Axes-plot">plot</a>(x,y) # plot Numeric arrays y vs x<br>
a.<a href="#Axes-plot">plot</a>(x,y, 'bo') # plot Numeric arrays y vs x with blue circles<br>
a.<a href="#Axes-plot">plot</a>(y) # plot y using x = <a href="#-arange">arange</a>(len(y))<br>
a.<a href="#Axes-plot">plot</a>(y, 'r+') # ditto with red plusses<br>
<br>
An arbitrary number of x, y, fmt groups can be specified, as in <br>
a.<a href="#Axes-plot">plot</a>(x1, y1, 'g^', x2, y2, 'l-') <br>
<br>
Returns a list of lines that were added</tt></dd></dl>
<dl><dt><a name="Axes-psd"><strong>psd</strong></a>(self, x, NFFT<font color="#909090">=256</font>, Fs<font color="#909090">=2</font>, detrend<font color="#909090">=<function detrend_none></font>, window<font color="#909090">=<function window_hanning></font>, noverlap<font color="#909090">=0</font>)</dt><dd><tt>The power spectral density by Welches average periodogram method.<br>
The vector x is divided into NFFT length segments. Each segment<br>
is detrended by function detrend and windowed by function window.<br>
noperlap gives the length of the overlap between segments. The<br>
absolute(fft(segment))**2 of each segment are averaged to compute Pxx,<br>
with a scaling to correct for power loss due to windowing. Fs is<br>
the sampling frequency.<br>
<br>
-- NFFT must be a power of 2<br>
<br>
-- detrend and window are functions, unlike in matlab where they<br>
are vectors. For detrending you can use detrend_none,<br>
detrend_mean, detrend_linear or a custom function. For<br>
windowing, you can use window_none, window_hanning, or a custom<br>
function<br>
<br>
-- if length x < NFFT, it will be zero padded to NFFT<br>
<br>
<br>
Returns the tuple Pxx, freqs<br>
<br>
For plotting, the power is plotted as 10*log10(pxx)) for decibels,<br>
though pxx itself is returned<br>
<br>
Refs:<br>
Bendat & Piersol -- Random Data: Analysis and Measurement<br>
Procedures, John Wiley & Sons (1986)</tt></dd></dl>
<dl><dt><a name="Axes-resize"><strong>resize</strong></a>(self)</dt></dl>
<dl><dt><a name="Axes-scatter"><strong>scatter</strong></a>(self, x, y, s<font color="#909090">=None</font>, c<font color="#909090">='b'</font>)</dt><dd><tt>Make a scatter plot of x versus y. s is a size (in data<br>
coords) and can be either a scalar or an array of the same<br>
length as x or y. c is a color and can be a single color<br>
format string or an length(x) array of intensities which will<br>
be mapped by the colormap jet. <br>
<br>
If size is None a default size will be used</tt></dd></dl>
<dl><dt><a name="Axes-semilogx"><strong>semilogx</strong></a>(self, *args, **kwargs)</dt><dd><tt>Make a semilog plot with log scaling on the x axis. The args to<br>
semilog x are the same as the args to plot. See help plot for<br>
more info</tt></dd></dl>
<dl><dt><a name="Axes-semilogy"><strong>semilogy</strong></a>(self, *args, **kwargs)</dt><dd><tt>Make a semilog plot with log scaling on the y axis. The args to<br>
semilog x are the same as the args to plot. See help plot for<br>
more info</tt></dd></dl>
<dl><dt><a name="Axes-set_axis_bgcolor"><strong>set_axis_bgcolor</strong></a>(self, color)</dt></dl>
<dl><dt><a name="Axes-set_axis_off"><strong>set_axis_off</strong></a>(self)</dt></dl>
<dl><dt><a name="Axes-set_axis_on"><strong>set_axis_on</strong></a>(self)</dt></dl>
<dl><dt><a name="Axes-set_title"><strong>set_title</strong></a>(self, label, fontdict<font color="#909090">=None</font>, **kwargs)</dt><dd><tt>Set the title for the xaxis<br>
<br>
See the text docstring for information of how override and the<br>
optional args work</tt></dd></dl>
<dl><dt><a name="Axes-set_xlabel"><strong>set_xlabel</strong></a>(self, xlabel, fontdict<font color="#909090">=None</font>, **kwargs)</dt><dd><tt>Set the label for the xaxis<br>
<br>
See the text docstring for information of how override and the<br>
optional args work</tt></dd></dl>
<dl><dt><a name="Axes-set_xlim"><strong>set_xlim</strong></a>(self, v)</dt><dd><tt>Set the limits for the xaxis; v = [xmin, xmax]</tt></dd></dl>
<dl><dt><a name="Axes-set_xscale"><strong>set_xscale</strong></a>(self, value)</dt></dl>
<dl><dt><a name="Axes-set_xticklabels"><strong>set_xticklabels</strong></a>(self, labels, fontdict<font color="#909090">=None</font>, **kwargs)</dt><dd><tt>Set the xtick labels with list of strings labels<br>
Return a list of axis text instances</tt></dd></dl>
<dl><dt><a name="Axes-set_xticks"><strong>set_xticks</strong></a>(self, ticks)</dt><dd><tt>Set the x ticks with list of ticks</tt></dd></dl>
<dl><dt><a name="Axes-set_ylabel"><strong>set_ylabel</strong></a>(self, ylabel, fontdict<font color="#909090">=None</font>, **kwargs)</dt><dd><tt>Set the label for the yaxis<br>
<br>
Defaults override is<br>
<br>
override = {<br>
'fontsize' : 10,<br>
'verticalalignment' : 'center',<br>
'horizontalalignment' : 'right',<br>
'rotation'='vertical' : }<br>
<br>
See the text doctstring for information of how override and<br>
the optional args work</tt></dd></dl>
<dl><dt><a name="Axes-set_ylim"><strong>set_ylim</strong></a>(self, v)</dt><dd><tt>Set the limits for the xaxis; v = [ymin, ymax]</tt></dd></dl>
<dl><dt><a name="Axes-set_yscale"><strong>set_yscale</strong></a>(self, value)</dt></dl>
<dl><dt><a name="Axes-set_yticklabels"><strong>set_yticklabels</strong></a>(self, labels, fontdict<font color="#909090">=None</font>, **kwargs)</dt><dd><tt>Set the ytick labels with list of strings labels.<br>
Return a list of AxisText instances</tt></dd></dl>
<dl><dt><a name="Axes-set_yticks"><strong>set_yticks</strong></a>(self, ticks)</dt><dd><tt>Set the y ticks with list of ticks</tt></dd></dl>
<dl><dt><a name="Axes-text"><strong>text</strong></a>(self, x, y, text, fontdict<font color="#909090">=None</font>, **kwargs)</dt><dd><tt>Add text to axis at location x,y (data coords)<br>
<br>
fontdict is a dictionary to override the default text properties.<br>
If fontdict is None, the default is<br>
<br>
If len(args) the override dictionary will be:<br>
<br>
'fontsize' : 10,<br>
'verticalalignment' : 'bottom',<br>
'horizontalalignment' : 'left'<br>
<br>
<br>
**kwargs can in turn be used to override the override, as in<br>
<br>
a.<a href="#Axes-text">text</a>(x,y,label, fontsize=12)<br>
<br>
will have verticalalignment=bottom and<br>
horizontalalignment=left but will have a fontsize of 12<br>
<br>
<br>
The AxisText defaults are<br>
'color' : 'k',<br>
'fontname' : 'Sans',<br>
'fontsize' : 10,<br>
'fontweight' : 'bold',<br>
'fontangle' : 'normal',<br>
'horizontalalignment' : 'left'<br>
'rotation' : 'horizontal',<br>
'verticalalignment' : 'bottom',<br>
'transx' : self.<strong>xaxis</strong>.transData,<br>
'transy' : self.<strong>yaxis</strong>.transData, <br>
<br>
transx and transy specify that text is in data coords,<br>
alternatively, you can specify text in axis coords (0,0 lower<br>
left and 1,1 upper right). The example below places text in<br>
the center of the axes<br>
<br>
ax = subplot(111)<br>
<a href="#Axes-text">text</a>(0.5, 0.5,'matplotlib', <br>
horizontalalignment='center',<br>
verticalalignment='center',<br>
transx = ax.xaxis.transAxis,<br>
transy = ax.yaxis.transAxis,<br>
)</tt></dd></dl>
<dl><dt><a name="Axes-update_viewlim"><strong>update_viewlim</strong></a>(self)</dt><dd><tt>Update the view limits with all the data in self</tt></dd></dl>
<dl><dt><a name="Axes-vlines"><strong>vlines</strong></a>(self, x, ymin, ymax, color<font color="#909090">='k'</font>)</dt><dd><tt>Plot vertical lines at each x from ymin to ymax. ymin or ymax<br>
can be scalars or len(x) numpy arrays. If they are scalars,<br>
then the respective values are constant, else the heights of<br>
the lines are determined by ymin and ymax<br>
<br>
Returns a list of lines that were added</tt></dd></dl>
<dl><dt><a name="Axes-zoomx"><strong>zoomx</strong></a>(self, numsteps)</dt><dd><tt>Zoom in on the x xaxis numsteps (plus for zoom in, minus for zoom out)</tt></dd></dl>
<dl><dt><a name="Axes-zoomy"><strong>zoomy</strong></a>(self, numsteps)</dt><dd><tt>Zoom in on the x xaxis numsteps (plus for zoom in, minus for zoom out)</tt></dd></dl>
<hr>
Methods inherited from <a href="matplotlib.artist.html#Artist">matplotlib.artist.Artist</a>:<br>
<dl><dt><a name="Axes-draw"><strong>draw</strong></a>(self, drawable<font color="#909090">=None</font>, *args, **kwargs)</dt><dd><tt>Derived classes drawing method</tt></dd></dl>
<dl><dt><a name="Axes-get_dpi"><strong>get_dpi</strong></a>(self)</dt><dd><tt>Get the DPI of the display</tt></dd></dl>
<dl><dt><a name="Axes-get_window_extent"><strong>get_window_extent</strong></a>(self)</dt><dd><tt>Return the window extent of the <a href="matplotlib.artist.html#Artist">Artist</a> as a Bound2D instance</tt></dd></dl>
<dl><dt><a name="Axes-set_child_attr"><strong>set_child_attr</strong></a>(self, attr, val)</dt><dd><tt>Set attribute attr for self, and all child artists</tt></dd></dl>
<dl><dt><a name="Axes-set_clip_on"><strong>set_clip_on</strong></a>(self, b)</dt><dd><tt>Set whether artist is clipped to bbox</tt></dd></dl>
<dl><dt><a name="Axes-set_lod"><strong>set_lod</strong></a>(self, on)</dt><dd><tt>Set Level of Detail on or off. If on, the artists may examine<br>
things like the pixel width of the axes and draw a subset of<br>
their contents accordingly</tt></dd></dl>
<dl><dt><a name="Axes-set_renderer"><strong>set_renderer</strong></a>(self, renderer)</dt><dd><tt>Set the renderer</tt></dd></dl>
<dl><dt><a name="Axes-set_transform"><strong>set_transform</strong></a>(self, transform)</dt><dd><tt>Set the artist transform for self and all children</tt></dd></dl>
<dl><dt><a name="Axes-wash_brushes"><strong>wash_brushes</strong></a>(self)</dt><dd><tt>Erase any state vars that would impair a draw to a clean palette</tt></dd></dl>
<hr>
Data and other attributes inherited from <a href="matplotlib.artist.html#Artist">matplotlib.artist.Artist</a>:<br>
<dl><dt><strong>aname</strong> = 'Artist'</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom> <br>
<font color="#000000" face="helvetica, arial"><a name="Axis">class <strong>Axis</strong></a>(<a href="matplotlib.artist.html#Artist">matplotlib.artist.Artist</a>)</font></td></tr>
<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td>
<td width="100%">Methods defined here:<br>
<dl><dt><a name="Axis-__init__"><strong>__init__</strong></a>(self, axes)</dt><dd><tt>Init the axis with the parent <a href="#Axes">Axes</a> instance</tt></dd></dl>
<dl><dt><a name="Axis-autoscale_view"><strong>autoscale_view</strong></a>(self)</dt><dd><tt>Try to choose the view limits intelligently</tt></dd></dl>
<dl><dt><a name="Axis-build_artists"><strong>build_artists</strong></a>(self)</dt><dd><tt>Call only after xaxis and yaxis have been initialized in axes<br>
since the trasnforms require both</tt></dd></dl>
<dl><dt><a name="Axis-format_tickval"><strong>format_tickval</strong></a>(self, x)</dt><dd><tt>Format the number x as a string</tt></dd></dl>
<dl><dt><a name="Axis-get_child_artists"><strong>get_child_artists</strong></a>(self)</dt><dd><tt>Return a list of all <a href="matplotlib.artist.html#Artist">Artist</a> instances contained by <a href="#Axis">Axis</a></tt></dd></dl>
<dl><dt><a name="Axis-get_cm_transform"><strong>get_cm_transform</strong></a>(self, offset<font color="#909090">=None</font>, transOffset<font color="#909090">=Transform: Bound1D: 0 1 to Bound1D: 0 1</font>)</dt><dd><tt>Transform val cm to dots<br>
<br>
offset is a RRef instance for TransformSize. if None, use<br>
displaylim min. transOffset is a transform to transform the<br>
offset to display coords</tt></dd></dl>
<dl><dt><a name="Axis-get_gridlines"><strong>get_gridlines</strong></a>(self)</dt><dd><tt>Return the grid lines as a list of Line2D instance</tt></dd></dl>
<dl><dt><a name="Axis-get_inches_transform"><strong>get_inches_transform</strong></a>(self, offset<font color="#909090">=None</font>, transOffset<font color="#909090">=Transform: Bound1D: 0 1 to Bound1D: 0 1</font>)</dt><dd><tt>Transform val inches to dots<br>
<br>
offset is a RRef instance for TransformSize. if None, use<br>
displaylim min. transOffset is a transform to transform the<br>
offset to display coords</tt></dd></dl>
<dl><dt><a name="Axis-get_label"><strong>get_label</strong></a>(self)</dt><dd><tt>Return the axis label as an AxisText instance</tt></dd></dl>
<dl><dt><a name="Axis-get_mm_transform"><strong>get_mm_transform</strong></a>(self, offset<font color="#909090">=None</font>, transOffset<font color="#909090">=Transform: Bound1D: 0 1 to Bound1D: 0 1</font>)</dt><dd><tt>Transform val mm to dots<br>
<br>
offset is a RRef instance for TransformSize. if None, use<br>
displaylim min. transOffset is a transform to transform the<br>
offset to display coords</tt></dd></dl>
<dl><dt><a name="Axis-get_numticks"><strong>get_numticks</strong></a>(self)</dt></dl>
<dl><dt><a name="Axis-get_pts_transform"><strong>get_pts_transform</strong></a>(self, offset<font color="#909090">=None</font>, transOffset<font color="#909090">=Transform: Bound1D: 0 1 to Bound1D: 0 1</font>)</dt><dd><tt>Transform val points to dots<br>
<br>
offset is a RRef instance for TransformSize. if None, use<br>
displaylim min. transOffset is a transform to transform the<br>
offset to display coords</tt></dd></dl>
<dl><dt><a name="Axis-get_ticklabels"><strong>get_ticklabels</strong></a>(self)</dt><dd><tt>Return a list of AxisText instances for ticklabels</tt></dd></dl>
<dl><dt><a name="Axis-get_ticklines"><strong>get_ticklines</strong></a>(self)</dt><dd><tt>Return the ticklines lines as a list of Line2D instance</tt></dd></dl>
<dl><dt><a name="Axis-get_ticklocs"><strong>get_ticklocs</strong></a>(self)</dt><dd><tt>Get the tick locations in data coordinates as a Numeric array</tt></dd></dl>
<dl><dt><a name="Axis-get_ticks"><strong>get_ticks</strong></a>(self)</dt></dl>
<dl><dt><a name="Axis-grid"><strong>grid</strong></a>(self, b)</dt><dd><tt>Set the axis grid on or off; b is a boolean</tt></dd></dl>
<dl><dt><a name="Axis-is_log"><strong>is_log</strong></a>(self)</dt><dd><tt>Return true if log scaling is on</tt></dd></dl>
<dl><dt><a name="Axis-pan"><strong>pan</strong></a>(self, numsteps)</dt><dd><tt>Pan numticks (can be positive or negative)</tt></dd></dl>
<dl><dt><a name="Axis-set_child_attr"><strong>set_child_attr</strong></a>(self, attr, val)</dt><dd><tt>Set attribute attr for self, and all child artists</tt></dd></dl>
<dl><dt><a name="Axis-set_scale"><strong>set_scale</strong></a>(self, value)</dt><dd><tt>Set the axis scale; either 'linear' or 'log'</tt></dd></dl>
<dl><dt><a name="Axis-set_ticklabels"><strong>set_ticklabels</strong></a>(self, ticklabels, *args, **kwargs)</dt><dd><tt>Set the text values of the tick labels. ticklabels is a<br>
sequence of strings. Return a list of AxisText instances</tt></dd></dl>
<dl><dt><a name="Axis-set_ticks"><strong>set_ticks</strong></a>(self, ticks)</dt><dd><tt>Set the locations of the tick marks from sequence ticks</tt></dd></dl>
<dl><dt><a name="Axis-zoom"><strong>zoom</strong></a>(self, direction)</dt><dd><tt>Zoom in/out on axis; if direction is >0 zoom in, else zoom out</tt></dd></dl>
<hr>
Data and other attributes defined here:<br>
<dl><dt><strong>LABELPAD</strong> = -0.01</dl>
<hr>
Methods inherited from <a href="matplotlib.artist.html#Artist">matplotlib.artist.Artist</a>:<br>
<dl><dt><a name="Axis-draw"><strong>draw</strong></a>(self, drawable<font color="#909090">=None</font>, *args, **kwargs)</dt><dd><tt>Derived classes drawing method</tt></dd></dl>
<dl><dt><a name="Axis-get_dpi"><strong>get_dpi</strong></a>(self)</dt><dd><tt>Get the DPI of the display</tt></dd></dl>
<dl><dt><a name="Axis-get_window_extent"><strong>get_window_extent</strong></a>(self)</dt><dd><tt>Return the window extent of the <a href="matplotlib.artist.html#Artist">Artist</a> as a Bound2D instance</tt></dd></dl>
<dl><dt><a name="Axis-set_clip_on"><strong>set_clip_on</strong></a>(self, b)</dt><dd><tt>Set whether artist is clipped to bbox</tt></dd></dl>
<dl><dt><a name="Axis-set_lod"><strong>set_lod</strong></a>(self, on)</dt><dd><tt>Set Level of Detail on or off. If on, the artists may examine<br>
things like the pixel width of the axes and draw a subset of<br>
their contents accordingly</tt></dd></dl>
<dl><dt><a name="Axis-set_renderer"><strong>set_renderer</strong></a>(self, renderer)</dt><dd><tt>Set the renderer</tt></dd></dl>
<dl><dt><a name="Axis-set_transform"><strong>set_transform</strong></a>(self, transform)</dt><dd><tt>Set the artist transform for self and all children</tt></dd></dl>
<dl><dt><a name="Axis-wash_brushes"><strong>wash_brushes</strong></a>(self)</dt><dd><tt>Erase any state vars that would impair a draw to a clean palette</tt></dd></dl>
<hr>
Data and other attributes inherited from <a href="matplotlib.artist.html#Artist">matplotlib.artist.Artist</a>:<br>
<dl><dt><strong>aname</strong> = 'Artist'</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom> <br>
<font color="#000000" face="helvetica, arial"><a name="Legend">class <strong>Legend</strong></a>(<a href="matplotlib.artist.html#Artist">matplotlib.artist.Artist</a>)</font></td></tr>
<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td>
<td colspan=2><tt>Place a legend on the axes at location loc. Labels are a<br>
sequence of strings and loc can be a string or an integer<br>
specifying the legend location<br>
<br>
The location codes are<br>
<br>
'best' : 0, (currently not supported, defaults to upper right)<br>
'upper right' : 1, (default)<br>
'upper left' : 2,<br>
'lower left' : 3,<br>
'lower right' : 4,<br>
'right' : 5,<br>
'center left' : 6,<br>
'center right' : 7,<br>
'lower center' : 8,<br>
'upper center' : 9,<br>
'center' : 10,<br>
<br>
Return value is a sequence of text, line instances that make<br>
up the legend<br> </tt></td></tr>
<tr><td> </td>
<td width="100%">Methods defined here:<br>
<dl><dt><a name="Legend-__init__"><strong>__init__</strong></a>(self, axis, handles, labels, loc)</dt></dl>
<dl><dt><a name="Legend-get_child_artists"><strong>get_child_artists</strong></a>(self)</dt></dl>
<dl><dt><a name="Legend-get_window_extent"><strong>get_window_extent</strong></a>(self)</dt></dl>
<hr>
Data and other attributes defined here:<br>
<dl><dt><strong>AXESPAD</strong> = 0.02</dl>
<dl><dt><strong>FONTSIZE</strong> = 10</dl>
<dl><dt><strong>HANDLELEN</strong> = 0.050000000000000003</dl>
<dl><dt><strong>HANDLETEXTSEP</strong> = 0.02</dl>
<dl><dt><strong>LABELSEP</strong> = 0.0050000000000000001</dl>
<dl><dt><strong>NUMPOINTS</strong> = 4</dl>
<dl><dt><strong>PAD</strong> = 0.20000000000000001</dl>
<dl><dt><strong>codes</strong> = {'best': 0, 'center': 10, 'center left': 6, 'center right': 7, 'lower center': 8, 'lower left': 3, 'lower right': 4, 'right': 5, 'upper center': 9, 'upper left': 2, ...}</dl>
<hr>
Methods inherited from <a href="matplotlib.artist.html#Artist">matplotlib.artist.Artist</a>:<br>
<dl><dt><a name="Legend-draw"><strong>draw</strong></a>(self, drawable<font color="#909090">=None</font>, *args, **kwargs)</dt><dd><tt>Derived classes drawing method</tt></dd></dl>
<dl><dt><a name="Legend-get_dpi"><strong>get_dpi</strong></a>(self)</dt><dd><tt>Get the DPI of the display</tt></dd></dl>
<dl><dt><a name="Legend-set_child_attr"><strong>set_child_attr</strong></a>(self, attr, val)</dt><dd><tt>Set attribute attr for self, and all child artists</tt></dd></dl>
<dl><dt><a name="Legend-set_clip_on"><strong>set_clip_on</strong></a>(self, b)</dt><dd><tt>Set whether artist is clipped to bbox</tt></dd></dl>
<dl><dt><a name="Legend-set_lod"><strong>set_lod</strong></a>(self, on)</dt><dd><tt>Set Level of Detail on or off. If on, the artists may examine<br>
things like the pixel width of the axes and draw a subset of<br>
their contents accordingly</tt></dd></dl>
<dl><dt><a name="Legend-set_renderer"><strong>set_renderer</strong></a>(self, renderer)</dt><dd><tt>Set the renderer</tt></dd></dl>
<dl><dt><a name="Legend-set_transform"><strong>set_transform</strong></a>(self, transform)</dt><dd><tt>Set the artist transform for self and all children</tt></dd></dl>
<dl><dt><a name="Legend-wash_brushes"><strong>wash_brushes</strong></a>(self)</dt><dd><tt>Erase any state vars that would impair a draw to a clean palette</tt></dd></dl>
<hr>
Data and other attributes inherited from <a href="matplotlib.artist.html#Artist">matplotlib.artist.Artist</a>:<br>
<dl><dt><strong>aname</strong> = 'Artist'</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom> <br>
<font color="#000000" face="helvetica, arial"><a name="Subplot">class <strong>Subplot</strong></a>(<a href="matplotlib.axes.html#Axes">Axes</a>)</font></td></tr>
<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td>
<td colspan=2><tt>Emulate matlab's subplot command, creating axes with<br>
<br>
<a href="#Subplot">Subplot</a>(numRows, numCols, plotNum)<br>
<br>
where plotNum=1 is the first plot number and increasing plotNums<br>
fill rows first. max(plotNum)==numRows*numCols<br>
<br>
You can leave out the commas if numRows<=numCols<=plotNum<10, as<br>
in<br>
<br>
<a href="#Subplot">Subplot</a>(211) # 2 rows, 1 column, first (upper) plot<br> </tt></td></tr>
<tr><td> </td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="matplotlib.axes.html#Subplot">Subplot</a></dd>
<dd><a href="matplotlib.axes.html#Axes">Axes</a></dd>
<dd><a href="matplotlib.artist.html#Artist">matplotlib.artist.Artist</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="Subplot-__init__"><strong>__init__</strong></a>(self, fig, *args, **kwargs)</dt></dl>
<dl><dt><a name="Subplot-is_first_col"><strong>is_first_col</strong></a>(self)</dt></dl>
<dl><dt><a name="Subplot-is_first_row"><strong>is_first_row</strong></a>(self)</dt></dl>
<dl><dt><a name="Subplot-is_last_col"><strong>is_last_col</strong></a>(self)</dt></dl>
<dl><dt><a name="Subplot-is_last_row"><strong>is_last_row</strong></a>(self)</dt></dl>
<hr>
Methods inherited from <a href="matplotlib.axes.html#Axes">Axes</a>:<br>
<dl><dt><a name="Subplot-add_line"><strong>add_line</strong></a>(self, line)</dt><dd><tt>Add a line to the list of plot lines</tt></dd></dl>
<dl><dt><a name="Subplot-add_patch"><strong>add_patch</strong></a>(self, patch)</dt><dd><tt>Add a line to the list of plot lines</tt></dd></dl>
<dl><dt><a name="Subplot-bar"><strong>bar</strong></a>(self, x, y, width<font color="#909090">=0.80000000000000004</font>, color<font color="#909090">='b'</font>, yerr<font color="#909090">=None</font>, xerr<font color="#909090">=None</font>, capsize<font color="#909090">=3</font>)</dt><dd><tt>Make a bar plot with rectangles at x, x+width, 0, y<br>
x and y are Numeric arrays<br>
<br>
Return value is a list of Rectangle patch instances<br>
<br>
xerr and yerr, if not None, will be used to generate errorbars<br>
on the bar chart</tt></dd></dl>
<dl><dt><a name="Subplot-clear"><strong>clear</strong></a>(self)</dt></dl>
<dl><dt><a name="Subplot-cohere"><strong>cohere</strong></a>(self, x, y, NFFT<font color="#909090">=256</font>, Fs<font color="#909090">=2</font>, detrend<font color="#909090">=<function detrend_none></font>, window<font color="#909090">=<function window_hanning></font>, noverlap<font color="#909090">=0</font>)</dt><dd><tt>cohere the coherence between x and y. Coherence is the normalized<br>
cross spectral density<br>
<br>
Cxy = |Pxy|^2/(Pxx*Pyy)<br>
<br>
The return value is (Cxy, f), where f are the frequencies of the<br>
coherence vector. See the docs for psd and csd for information<br>
about the function arguments NFFT, detrend, windowm noverlap, as<br>
well as the methods used to compute Pxy, Pxx and Pyy.<br>
<br>
Returns the tuple Cxy, freqs<br>
<br>
Refs:<br>
Bendat & Piersol -- Random Data: Analysis and Measurement<br>
Procedures, John Wiley & Sons (1986)</tt></dd></dl>
<dl><dt><a name="Subplot-csd"><strong>csd</strong></a>(self, x, y, NFFT<font color="#909090">=256</font>, Fs<font color="#909090">=2</font>, detrend<font color="#909090">=<function detrend_none></font>, window<font color="#909090">=<function window_hanning></font>, noverlap<font color="#909090">=0</font>)</dt><dd><tt>The cross spectral density Pxy by Welches average periodogram<br>
method. The vectors x and y are divided into NFFT length<br>
segments. Each segment is detrended by function detrend and<br>
windowed by function window. noverlap gives the length of the<br>
overlap between segments. The product of the direct FFTs of x and<br>
y are averaged over each segment to compute Pxy, with a scaling to<br>
correct for power loss due to windowing. Fs is the sampling<br>
frequency.<br>
<br>
NFFT must be a power of 2<br>
<br>
detrend and window are functions, unlike in matlab where they are<br>
vectors. For detrending you can use detrend_none, detrend_mean,<br>
detrend_linear or a custom function. For windowing, you can use<br>
window_none, window_hanning, or a custom function<br>
<br>
Returns the tuple Pxy, freqs. Pxy is the cross spectrum (complex<br>
valued), and 10*log10(|Pxy|) is plotted<br>
<br>
Refs:<br>
Bendat & Piersol -- Random Data: Analysis and Measurement<br>
Procedures, John Wiley & Sons (1986)</tt></dd></dl>
<dl><dt><a name="Subplot-errorbar"><strong>errorbar</strong></a>(self, x, y, yerr<font color="#909090">=None</font>, xerr<font color="#909090">=None</font>, fmt<font color="#909090">='b-'</font>, capsize<font color="#909090">=3</font>)</dt><dd><tt>Plot x versus y with error deltas in yerr and xerr.<br>
Vertical errorbars are plotted if yerr is not None<br>
Horizontal errorbars are plotted if xerr is not None<br>
<br>
xerr and yerr may be any of:<br>
a rank-0, Nx1 Numpy array - symmetric errorbars +/- value<br>
an N-element list or tuple - symmetric errorbars +/- value<br>
a rank-1, Nx2 Numpy array - asymmetric errorbars -column1/+column2<br>
<br>
fmt is the plot format symbol for y. if fmt is None, just<br>
plot the errorbars with no line symbols. This can be useful<br>
for creating a bar plot with errorbars<br>
<br>
Return value is a length 2 tuple. The first element is a list of<br>
y symbol lines. The second element is a list of error bar lines.<br>
<br>
capsize is the size of the error bar caps in points</tt></dd></dl>
<dl><dt><a name="Subplot-get_axis_bgcolor"><strong>get_axis_bgcolor</strong></a>(self)</dt><dd><tt>Return the axis background color</tt></dd></dl>
<dl><dt><a name="Subplot-get_child_artists"><strong>get_child_artists</strong></a>(self)</dt></dl>
<dl><dt><a name="Subplot-get_xaxis"><strong>get_xaxis</strong></a>(self)</dt><dd><tt>Return the <a href="#XAxis">XAxis</a> instance</tt></dd></dl>
<dl><dt><a name="Subplot-get_xgridlines"><strong>get_xgridlines</strong></a>(self)</dt><dd><tt>Get the x grid lines as a list of Line2D instances</tt></dd></dl>
<dl><dt><a name="Subplot-get_xlim"><strong>get_xlim</strong></a>(self)</dt><dd><tt>Get the x axis range [xmin, xmax]</tt></dd></dl>
<dl><dt><a name="Subplot-get_xticklabels"><strong>get_xticklabels</strong></a>(self)</dt><dd><tt>Get the xtick labels as a list of AxisText instances</tt></dd></dl>
<dl><dt><a name="Subplot-get_xticklines"><strong>get_xticklines</strong></a>(self)</dt><dd><tt>Get the xtick lines as a list of Line2D instances</tt></dd></dl>
<dl><dt><a name="Subplot-get_xticks"><strong>get_xticks</strong></a>(self)</dt><dd><tt>Return the x ticks as a list of locations</tt></dd></dl>
<dl><dt><a name="Subplot-get_yaxis"><strong>get_yaxis</strong></a>(self)</dt><dd><tt>Return the <a href="#YAxis">YAxis</a> instance</tt></dd></dl>
<dl><dt><a name="Subplot-get_ygridlines"><strong>get_ygridlines</strong></a>(self)</dt><dd><tt>Get the y grid lines as a list of Line2D instances</tt></dd></dl>
<dl><dt><a name="Subplot-get_ylim"><strong>get_ylim</strong></a>(self)</dt><dd><tt>Get the y axis range [ymin, ymax]</tt></dd></dl>
<dl><dt><a name="Subplot-get_yticklabels"><strong>get_yticklabels</strong></a>(self)</dt><dd><tt>Get the ytick labels as a list of AxisText instances</tt></dd></dl>
<dl><dt><a name="Subplot-get_yticklines"><strong>get_yticklines</strong></a>(self)</dt><dd><tt>Get the ytick lines as a list of Line2D instances</tt></dd></dl>
<dl><dt><a name="Subplot-get_yticks"><strong>get_yticks</strong></a>(self)</dt><dd><tt>Return the y ticks as a list of locations</tt></dd></dl>
<dl><dt><a name="Subplot-grid"><strong>grid</strong></a>(self, b)</dt><dd><tt>Set the axes grids on or off; b is a boolean</tt></dd></dl>
<dl><dt><a name="Subplot-hist"><strong>hist</strong></a>(self, x, bins<font color="#909090">=10</font>, normed<font color="#909090">=0</font>)</dt><dd><tt>Compute the histogram of x. bins is either an integer number of<br>
bins or a sequence giving the bins. x are the data to be binned.<br>
<br>
if noplot is True, just compute the histogram and return the<br>
number of observations and the bins as an (n, bins) tuple.<br>
<br>
If noplot is False, compute the histogram and plot it, returning<br>
n, bins, patches<br>
<br>
If normed is true, the first element of the return tuple will be the<br>
counts normalized to form a probability distribtion, ie,<br>
n/(len(x)*dbin)</tt></dd></dl>
<dl><dt><a name="Subplot-hlines"><strong>hlines</strong></a>(self, y, xmin, xmax, fmt<font color="#909090">='k-'</font>)</dt><dd><tt>plot horizontal lines at each y from xmin to xmax. xmin or<br>
xmax can be scalars or len(x) numpy arrays. If they are<br>
scalars, then the respective values are constant, else the<br>
widths of the lines are determined by xmin and xmax<br>
<br>
Returns a list of line instances that were added</tt></dd></dl>
<dl><dt><a name="Subplot-in_axes"><strong>in_axes</strong></a>(self, xwin, ywin)</dt></dl>
<dl><dt><a name="Subplot-legend"><strong>legend</strong></a>(self, *args, **kwargs)</dt><dd><tt>Place a legend on the current axes at location loc. Labels are a<br>
sequence of strings and loc can be a string or an integer<br>
specifying the legend location<br>
<br>
USAGE: <br>
<br>
Make a legend with existing lines<br>
<a href="#Subplot-legend">legend</a>( LABELS )<br>
>>> <a href="#Subplot-legend">legend</a>( ('label1', 'label2', 'label3') ) <br>
<br>
Make a legend for Line2D instances lines1, line2, line3<br>
<a href="#Subplot-legend">legend</a>( LINES, LABELS )<br>
>>> <a href="#Subplot-legend">legend</a>( (line1, line2, line3), ('label1', 'label2', 'label3') )<br>
<br>
Make a legend at LOC<br>
<a href="#Subplot-legend">legend</a>( LABELS, LOC ) or<br>
<a href="#Subplot-legend">legend</a>( LINES, LABELS, LOC )<br>
>>> <a href="#Subplot-legend">legend</a>( ('label1', 'label2', 'label3'), loc='upper left')<br>
>>> <a href="#Subplot-legend">legend</a>( (line1, line2, line3),<br>
('label1', 'label2', 'label3'),<br>
loc=2)<br>
<br>
The LOC location codes are<br>
<br>
The location codes are<br>
<br>
'best' : 0, (currently not supported, defaults to upper right)<br>
'upper right' : 1, (default)<br>
'upper left' : 2,<br>
'lower left' : 3,<br>
'lower right' : 4,<br>
'right' : 5,<br>
'center left' : 6,<br>
'center right' : 7,<br>
'lower center' : 8,<br>
'upper center' : 9,<br>
'center' : 10,<br>
<br>
Return value is a sequence of text, line instances that make<br>
up the legend</tt></dd></dl>
<dl><dt><a name="Subplot-loglog"><strong>loglog</strong></a>(self, *args, **kwargs)</dt><dd><tt>Make a loglog plot with log scaling on the a and y axis. The args<br>
to semilog x are the same as the args to plot. See help plot for<br>
more info</tt></dd></dl>
<dl><dt><a name="Subplot-panx"><strong>panx</strong></a>(self, numsteps)</dt><dd><tt>Pan the x axis numsteps (plus pan right, minus pan left)</tt></dd></dl>
<dl><dt><a name="Subplot-pany"><strong>pany</strong></a>(self, numsteps)</dt><dd><tt>Pan the x axis numsteps (plus pan up, minus pan down)</tt></dd></dl>
<dl><dt><a name="Subplot-pcolor"><strong>pcolor</strong></a>(self, *args, **kwargs)</dt><dd><tt><a href="#Subplot-pcolor">pcolor</a>(C) - make a pseudocolor plot of matrix C<br>
<br>
<a href="#Subplot-pcolor">pcolor</a>(X, Y, C) - a pseudo color plot of C on the matrices X and Y <br>
<br>
Shading:<br>
<br>
The optional keyword arg shading ('flat' or 'faceted') will<br>
determine whether a black grid is drawn around each pcolor<br>
square. Default 'faceteted'<br>
e.g., <br>
<a href="#Subplot-pcolor">pcolor</a>(C, shading='flat') <br>
<a href="#Subplot-pcolor">pcolor</a>(X, Y, C, shading='faceted')<br>
<br>
returns a list of patch objects<br>
<br>
Note, the behavior of meshgrid in matlab is a bit<br>
counterintuitive for x and y arrays. For example,<br>
<br>
x = <a href="#-arange">arange</a>(7)<br>
y = <a href="#-arange">arange</a>(5)<br>
X, Y = meshgrid(x,y)<br>
<br>
Z = rand( len(x), len(y))<br>
<a href="#Subplot-pcolor">pcolor</a>(X, Y, Z)<br>
<br>
will fail in matlab and matplotlib. You will probably be<br>
happy with<br>
<br>
<a href="#Subplot-pcolor">pcolor</a>(X, Y, transpose(Z))<br>
<br>
Likewise, for nonsquare Z,<br>
<br>
<a href="#Subplot-pcolor">pcolor</a>(transpose(Z))<br>
<br>
will make the x and y axes in the plot agree with the numrows<br>
and numcols of Z</tt></dd></dl>
<dl><dt><a name="Subplot-plot"><strong>plot</strong></a>(self, *args)</dt><dd><tt>Emulate matlab's plot command. *args is a variable length<br>
argument, allowing for multiple x,y pairs with an optional<br>
format string. For example, all of the following are legal,<br>
assuming a is the <a href="#Axis">Axis</a> instance:<br>
<br>
a.<a href="#Subplot-plot">plot</a>(x,y) # plot Numeric arrays y vs x<br>
a.<a href="#Subplot-plot">plot</a>(x,y, 'bo') # plot Numeric arrays y vs x with blue circles<br>
a.<a href="#Subplot-plot">plot</a>(y) # plot y using x = <a href="#-arange">arange</a>(len(y))<br>
a.<a href="#Subplot-plot">plot</a>(y, 'r+') # ditto with red plusses<br>
<br>
An arbitrary number of x, y, fmt groups can be specified, as in <br>
a.<a href="#Subplot-plot">plot</a>(x1, y1, 'g^', x2, y2, 'l-') <br>
<br>
Returns a list of lines that were added</tt></dd></dl>
<dl><dt><a name="Subplot-psd"><strong>psd</strong></a>(self, x, NFFT<font color="#909090">=256</font>, Fs<font color="#909090">=2</font>, detrend<font color="#909090">=<function detrend_none></font>, window<font color="#909090">=<function window_hanning></font>, noverlap<font color="#909090">=0</font>)</dt><dd><tt>The power spectral density by Welches average periodogram method.<br>
The vector x is divided into NFFT length segments. Each segment<br>
is detrended by function detrend and windowed by function window.<br>
noperlap gives the length of the overlap between segments. The<br>
absolute(fft(segment))**2 of each segment are averaged to compute Pxx,<br>
with a scaling to correct for power loss due to windowing. Fs is<br>
the sampling frequency.<br>
<br>
-- NFFT must be a power of 2<br>
<br>
-- detrend and window are functions, unlike in matlab where they<br>
are vectors. For detrending you can use detrend_none,<br>
detrend_mean, detrend_linear or a custom function. For<br>
windowing, you can use window_none, window_hanning, or a custom<br>
function<br>
<br>
-- if length x < NFFT, it will be zero padded to NFFT<br>
<br>
<br>
Returns the tuple Pxx, freqs<br>
<br>
For plotting, the power is plotted as 10*log10(pxx)) for decibels,<br>
though pxx itself is returned<br>
<br>
Refs:<br>
Bendat & Piersol -- Random Data: Analysis and Measurement<br>
Procedures, John Wiley & Sons (1986)</tt></dd></dl>
<dl><dt><a name="Subplot-resize"><strong>resize</strong></a>(self)</dt></dl>
<dl><dt><a name="Subplot-scatter"><strong>scatter</strong></a>(self, x, y, s<font color="#909090">=None</font>, c<font color="#909090">='b'</font>)</dt><dd><tt>Make a scatter plot of x versus y. s is a size (in data<br>
coords) and can be either a scalar or an array of the same<br>
length as x or y. c is a color and can be a single color<br>
format string or an length(x) array of intensities which will<br>
be mapped by the colormap jet. <br>
<br>
If size is None a default size will be used</tt></dd></dl>
<dl><dt><a name="Subplot-semilogx"><strong>semilogx</strong></a>(self, *args, **kwargs)</dt><dd><tt>Make a semilog plot with log scaling on the x axis. The args to<br>
semilog x are the same as the args to plot. See help plot for<br>
more info</tt></dd></dl>
<dl><dt><a name="Subplot-semilogy"><strong>semilogy</strong></a>(self, *args, **kwargs)</dt><dd><tt>Make a semilog plot with log scaling on the y axis. The args to<br>
semilog x are the same as the args to plot. See help plot for<br>
more info</tt></dd></dl>
<dl><dt><a name="Subplot-set_axis_bgcolor"><strong>set_axis_bgcolor</strong></a>(self, color)</dt></dl>
<dl><dt><a name="Subplot-set_axis_off"><strong>set_axis_off</strong></a>(self)</dt></dl>
<dl><dt><a name="Subplot-set_axis_on"><strong>set_axis_on</strong></a>(self)</dt></dl>
<dl><dt><a name="Subplot-set_title"><strong>set_title</strong></a>(self, label, fontdict<font color="#909090">=None</font>, **kwargs)</dt><dd><tt>Set the title for the xaxis<br>
<br>
See the text docstring for information of how override and the<br>
optional args work</tt></dd></dl>
<dl><dt><a name="Subplot-set_xlabel"><strong>set_xlabel</strong></a>(self, xlabel, fontdict<font color="#909090">=None</font>, **kwargs)</dt><dd><tt>Set the label for the xaxis<br>
<br>
See the text docstring for information of how override and the<br>
optional args work</tt></dd></dl>
<dl><dt><a name="Subplot-set_xlim"><strong>set_xlim</strong></a>(self, v)</dt><dd><tt>Set the limits for the xaxis; v = [xmin, xmax]</tt></dd></dl>
<dl><dt><a name="Subplot-set_xscale"><strong>set_xscale</strong></a>(self, value)</dt></dl>
<dl><dt><a name="Subplot-set_xticklabels"><strong>set_xticklabels</strong></a>(self, labels, fontdict<font color="#909090">=None</font>, **kwargs)</dt><dd><tt>Set the xtick labels with list of strings labels<br>
Return a list of axis text instances</tt></dd></dl>
<dl><dt><a name="Subplot-set_xticks"><strong>set_xticks</strong></a>(self, ticks)</dt><dd><tt>Set the x ticks with list of ticks</tt></dd></dl>
<dl><dt><a name="Subplot-set_ylabel"><strong>set_ylabel</strong></a>(self, ylabel, fontdict<font color="#909090">=None</font>, **kwargs)</dt><dd><tt>Set the label for the yaxis<br>
<br>
Defaults override is<br>
<br>
override = {<br>
'fontsize' : 10,<br>
'verticalalignment' : 'center',<br>
'horizontalalignment' : 'right',<br>
'rotation'='vertical' : }<br>
<br>
See the text doctstring for information of how override and<br>
the optional args work</tt></dd></dl>
<dl><dt><a name="Subplot-set_ylim"><strong>set_ylim</strong></a>(self, v)</dt><dd><tt>Set the limits for the xaxis; v = [ymin, ymax]</tt></dd></dl>
<dl><dt><a name="Subplot-set_yscale"><strong>set_yscale</strong></a>(self, value)</dt></dl>
<dl><dt><a name="Subplot-set_yticklabels"><strong>set_yticklabels</strong></a>(self, labels, fontdict<font color="#909090">=None</font>, **kwargs)</dt><dd><tt>Set the ytick labels with list of strings labels.<br>
Return a list of AxisText instances</tt></dd></dl>
<dl><dt><a name="Subplot-set_yticks"><strong>set_yticks</strong></a>(self, ticks)</dt><dd><tt>Set the y ticks with list of ticks</tt></dd></dl>
<dl><dt><a name="Subplot-text"><strong>text</strong></a>(self, x, y, text, fontdict<font color="#909090">=None</font>, **kwargs)</dt><dd><tt>Add text to axis at location x,y (data coords)<br>
<br>
fontdict is a dictionary to override the default text properties.<br>
If fontdict is None, the default is<br>
<br>
If len(args) the override dictionary will be:<br>
<br>
'fontsize' : 10,<br>
'verticalalignment' : 'bottom',<br>
'horizontalalignment' : 'left'<br>
<br>
<br>
**kwargs can in turn be used to override the override, as in<br>
<br>
a.<a href="#Subplot-text">text</a>(x,y,label, fontsize=12)<br>
<br>
will have verticalalignment=bottom and<br>
horizontalalignment=left but will have a fontsize of 12<br>
<br>
<br>
The AxisText defaults are<br>
'color' : 'k',<br>
'fontname' : 'Sans',<br>
'fontsize' : 10,<br>
'fontweight' : 'bold',<br>
'fontangle' : 'normal',<br>
'horizontalalignment' : 'left'<br>
'rotation' : 'horizontal',<br>
'verticalalignment' : 'bottom',<br>
'transx' : self.<strong>xaxis</strong>.transData,<br>
'transy' : self.<strong>yaxis</strong>.transData, <br>
<br>
transx and transy specify that text is in data coords,<br>
alternatively, you can specify text in axis coords (0,0 lower<br>
left and 1,1 upper right). The example below places text in<br>
the center of the axes<br>
<br>
ax = subplot(111)<br>
<a href="#Subplot-text">text</a>(0.5, 0.5,'matplotlib', <br>
horizontalalignment='center',<br>
verticalalignment='center',<br>
transx = ax.xaxis.transAxis,<br>
transy = ax.yaxis.transAxis,<br>
)</tt></dd></dl>
<dl><dt><a name="Subplot-update_viewlim"><strong>update_viewlim</strong></a>(self)</dt><dd><tt>Update the view limits with all the data in self</tt></dd></dl>
<dl><dt><a name="Subplot-vlines"><strong>vlines</strong></a>(self, x, ymin, ymax, color<font color="#909090">='k'</font>)</dt><dd><tt>Plot vertical lines at each x from ymin to ymax. ymin or ymax<br>
can be scalars or len(x) numpy arrays. If they are scalars,<br>
then the respective values are constant, else the heights of<br>
the lines are determined by ymin and ymax<br>
<br>
Returns a list of lines that were added</tt></dd></dl>
<dl><dt><a name="Subplot-zoomx"><strong>zoomx</strong></a>(self, numsteps)</dt><dd><tt>Zoom in on the x xaxis numsteps (plus for zoom in, minus for zoom out)</tt></dd></dl>
<dl><dt><a name="Subplot-zoomy"><strong>zoomy</strong></a>(self, numsteps)</dt><dd><tt>Zoom in on the x xaxis numsteps (plus for zoom in, minus for zoom out)</tt></dd></dl>
<hr>
Methods inherited from <a href="matplotlib.artist.html#Artist">matplotlib.artist.Artist</a>:<br>
<dl><dt><a name="Subplot-draw"><strong>draw</strong></a>(self, drawable<font color="#909090">=None</font>, *args, **kwargs)</dt><dd><tt>Derived classes drawing method</tt></dd></dl>
<dl><dt><a name="Subplot-get_dpi"><strong>get_dpi</strong></a>(self)</dt><dd><tt>Get the DPI of the display</tt></dd></dl>
<dl><dt><a name="Subplot-get_window_extent"><strong>get_window_extent</strong></a>(self)</dt><dd><tt>Return the window extent of the <a href="matplotlib.artist.html#Artist">Artist</a> as a Bound2D instance</tt></dd></dl>
<dl><dt><a name="Subplot-set_child_attr"><strong>set_child_attr</strong></a>(self, attr, val)</dt><dd><tt>Set attribute attr for self, and all child artists</tt></dd></dl>
<dl><dt><a name="Subplot-set_clip_on"><strong>set_clip_on</strong></a>(self, b)</dt><dd><tt>Set whether artist is clipped to bbox</tt></dd></dl>
<dl><dt><a name="Subplot-set_lod"><strong>set_lod</strong></a>(self, on)</dt><dd><tt>Set Level of Detail on or off. If on, the artists may examine<br>
things like the pixel width of the axes and draw a subset of<br>
their contents accordingly</tt></dd></dl>
<dl><dt><a name="Subplot-set_renderer"><strong>set_renderer</strong></a>(self, renderer)</dt><dd><tt>Set the renderer</tt></dd></dl>
<dl><dt><a name="Subplot-set_transform"><strong>set_transform</strong></a>(self, transform)</dt><dd><tt>Set the artist transform for self and all children</tt></dd></dl>
<dl><dt><a name="Subplot-wash_brushes"><strong>wash_brushes</strong></a>(self)</dt><dd><tt>Erase any state vars that would impair a draw to a clean palette</tt></dd></dl>
<hr>
Data and other attributes inherited from <a href="matplotlib.artist.html#Artist">matplotlib.artist.Artist</a>:<br>
<dl><dt><strong>aname</strong> = 'Artist'</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom> <br>
<font color="#000000" face="helvetica, arial"><a name="Tick">class <strong>Tick</strong></a>(<a href="matplotlib.artist.html#Artist">matplotlib.artist.Artist</a>)</font></td></tr>
<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td>
<td colspan=2><tt>Abstract base class for the axis ticks, grid lines and labels<br>
<br>
Publicly accessible attributes<br>
<br>
tick1line : a Line2D instance<br>
tick2line : a Line2D instance<br>
gridline : a Line2D instance<br>
label : an AxisText instance<br>
gridOn : a boolean which determines whether to draw the tickline<br>
tick1On : a boolean which determines whether to draw the 1st tickline<br>
(left for xtick and bottom for yticks)<br>
tick2On : a boolean which determines whether to draw the 2nd tickline<br>
(left for xtick and bottom for yticks)<br>
labelOn : a boolean which determines whether to draw tick label<br> </tt></td></tr>
<tr><td> </td>
<td width="100%">Methods defined here:<br>
<dl><dt><a name="Tick-__init__"><strong>__init__</strong></a>(self, axes, loc, label, size<font color="#909090">=4</font>, gridOn<font color="#909090">=False</font>, tick1On<font color="#909090">=True</font>, tick2On<font color="#909090">=True</font>, labelOn<font color="#909090">=True</font>)</dt><dd><tt>bbox is the Bound2D bounding box in display coords of the <a href="#Axes">Axes</a><br>
loc is the tick location in data coords<br>
size is the tick size in relative, axes coords</tt></dd></dl>
<dl><dt><a name="Tick-get_child_artists"><strong>get_child_artists</strong></a>(self)</dt></dl>
<dl><dt><a name="Tick-get_loc"><strong>get_loc</strong></a>(self)</dt><dd><tt>Return the tick location (data coords) as a scalar</tt></dd></dl>
<dl><dt><a name="Tick-set_label"><strong>set_label</strong></a>(self, s)</dt><dd><tt>Set the text of ticklabel in with string s</tt></dd></dl>
<dl><dt><a name="Tick-set_loc"><strong>set_loc</strong></a>(self, loc)</dt><dd><tt>Set the location of tick in data coords with scalar loc</tt></dd></dl>
<hr>
Methods inherited from <a href="matplotlib.artist.html#Artist">matplotlib.artist.Artist</a>:<br>
<dl><dt><a name="Tick-draw"><strong>draw</strong></a>(self, drawable<font color="#909090">=None</font>, *args, **kwargs)</dt><dd><tt>Derived classes drawing method</tt></dd></dl>
<dl><dt><a name="Tick-get_dpi"><strong>get_dpi</strong></a>(self)</dt><dd><tt>Get the DPI of the display</tt></dd></dl>
<dl><dt><a name="Tick-get_window_extent"><strong>get_window_extent</strong></a>(self)</dt><dd><tt>Return the window extent of the <a href="matplotlib.artist.html#Artist">Artist</a> as a Bound2D instance</tt></dd></dl>
<dl><dt><a name="Tick-set_child_attr"><strong>set_child_attr</strong></a>(self, attr, val)</dt><dd><tt>Set attribute attr for self, and all child artists</tt></dd></dl>
<dl><dt><a name="Tick-set_clip_on"><strong>set_clip_on</strong></a>(self, b)</dt><dd><tt>Set whether artist is clipped to bbox</tt></dd></dl>
<dl><dt><a name="Tick-set_lod"><strong>set_lod</strong></a>(self, on)</dt><dd><tt>Set Level of Detail on or off. If on, the artists may examine<br>
things like the pixel width of the axes and draw a subset of<br>
their contents accordingly</tt></dd></dl>
<dl><dt><a name="Tick-set_renderer"><strong>set_renderer</strong></a>(self, renderer)</dt><dd><tt>Set the renderer</tt></dd></dl>
<dl><dt><a name="Tick-set_transform"><strong>set_transform</strong></a>(self, transform)</dt><dd><tt>Set the artist transform for self and all children</tt></dd></dl>
<dl><dt><a name="Tick-wash_brushes"><strong>wash_brushes</strong></a>(self)</dt><dd><tt>Erase any state vars that would impair a draw to a clean palette</tt></dd></dl>
<hr>
Data and other attributes inherited from <a href="matplotlib.artist.html#Artist">matplotlib.artist.Artist</a>:<br>
<dl><dt><strong>aname</strong> = 'Artist'</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom> <br>
<font color="#000000" face="helvetica, arial"><a name="XAxis">class <strong>XAxis</strong></a>(<a href="matplotlib.axes.html#Axis">Axis</a>)</font></td></tr>
<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="matplotlib.axes.html#XAxis">XAxis</a></dd>
<dd><a href="matplotlib.axes.html#Axis">Axis</a></dd>
<dd><a href="matplotlib.artist.html#Artist">matplotlib.artist.Artist</a></dd>
</dl>
<hr>
Methods inherited from <a href="matplotlib.axes.html#Axis">Axis</a>:<br>
<dl><dt><a name="XAxis-__init__"><strong>__init__</strong></a>(self, axes)</dt><dd><tt>Init the axis with the parent <a href="#Axes">Axes</a> instance</tt></dd></dl>
<dl><dt><a name="XAxis-autoscale_view"><strong>autoscale_view</strong></a>(self)</dt><dd><tt>Try to choose the view limits intelligently</tt></dd></dl>
<dl><dt><a name="XAxis-build_artists"><strong>build_artists</strong></a>(self)</dt><dd><tt>Call only after xaxis and yaxis have been initialized in axes<br>
since the trasnforms require both</tt></dd></dl>
<dl><dt><a name="XAxis-format_tickval"><strong>format_tickval</strong></a>(self, x)</dt><dd><tt>Format the number x as a string</tt></dd></dl>
<dl><dt><a name="XAxis-get_child_artists"><strong>get_child_artists</strong></a>(self)</dt><dd><tt>Return a list of all <a href="matplotlib.artist.html#Artist">Artist</a> instances contained by <a href="#Axis">Axis</a></tt></dd></dl>
<dl><dt><a name="XAxis-get_cm_transform"><strong>get_cm_transform</strong></a>(self, offset<font color="#909090">=None</font>, transOffset<font color="#909090">=Transform: Bound1D: 0 1 to Bound1D: 0 1</font>)</dt><dd><tt>Transform val cm to dots<br>
<br>
offset is a RRef instance for TransformSize. if None, use<br>
displaylim min. transOffset is a transform to transform the<br>
offset to display coords</tt></dd></dl>
<dl><dt><a name="XAxis-get_gridlines"><strong>get_gridlines</strong></a>(self)</dt><dd><tt>Return the grid lines as a list of Line2D instance</tt></dd></dl>
<dl><dt><a name="XAxis-get_inches_transform"><strong>get_inches_transform</strong></a>(self, offset<font color="#909090">=None</font>, transOffset<font color="#909090">=Transform: Bound1D: 0 1 to Bound1D: 0 1</font>)</dt><dd><tt>Transform val inches to dots<br>
<br>
offset is a RRef instance for TransformSize. if None, use<br>
displaylim min. transOffset is a transform to transform the<br>
offset to display coords</tt></dd></dl>
<dl><dt><a name="XAxis-get_label"><strong>get_label</strong></a>(self)</dt><dd><tt>Return the axis label as an AxisText instance</tt></dd></dl>
<dl><dt><a name="XAxis-get_mm_transform"><strong>get_mm_transform</strong></a>(self, offset<font color="#909090">=None</font>, transOffset<font color="#909090">=Transform: Bound1D: 0 1 to Bound1D: 0 1</font>)</dt><dd><tt>Transform val mm to dots<br>
<br>
offset is a RRef instance for TransformSize. if None, use<br>
displaylim min. transOffset is a transform to transform the<br>
offset to display coords</tt></dd></dl>
<dl><dt><a name="XAxis-get_numticks"><strong>get_numticks</strong></a>(self)</dt></dl>
<dl><dt><a name="XAxis-get_pts_transform"><strong>get_pts_transform</strong></a>(self, offset<font color="#909090">=None</font>, transOffset<font color="#909090">=Transform: Bound1D: 0 1 to Bound1D: 0 1</font>)</dt><dd><tt>Transform val points to dots<br>
<br>
offset is a RRef instance for TransformSize. if None, use<br>
displaylim min. transOffset is a transform to transform the<br>
offset to display coords</tt></dd></dl>
<dl><dt><a name="XAxis-get_ticklabels"><strong>get_ticklabels</strong></a>(self)</dt><dd><tt>Return a list of AxisText instances for ticklabels</tt></dd></dl>
<dl><dt><a name="XAxis-get_ticklines"><strong>get_ticklines</strong></a>(self)</dt><dd><tt>Return the ticklines lines as a list of Line2D instance</tt></dd></dl>
<dl><dt><a name="XAxis-get_ticklocs"><strong>get_ticklocs</strong></a>(self)</dt><dd><tt>Get the tick locations in data coordinates as a Numeric array</tt></dd></dl>
<dl><dt><a name="XAxis-get_ticks"><strong>get_ticks</strong></a>(self)</dt></dl>
<dl><dt><a name="XAxis-grid"><strong>grid</strong></a>(self, b)</dt><dd><tt>Set the axis grid on or off; b is a boolean</tt></dd></dl>
<dl><dt><a name="XAxis-is_log"><strong>is_log</strong></a>(self)</dt><dd><tt>Return true if log scaling is on</tt></dd></dl>
<dl><dt><a name="XAxis-pan"><strong>pan</strong></a>(self, numsteps)</dt><dd><tt>Pan numticks (can be positive or negative)</tt></dd></dl>
<dl><dt><a name="XAxis-set_child_attr"><strong>set_child_attr</strong></a>(self, attr, val)</dt><dd><tt>Set attribute attr for self, and all child artists</tt></dd></dl>
<dl><dt><a name="XAxis-set_scale"><strong>set_scale</strong></a>(self, value)</dt><dd><tt>Set the axis scale; either 'linear' or 'log'</tt></dd></dl>
<dl><dt><a name="XAxis-set_ticklabels"><strong>set_ticklabels</strong></a>(self, ticklabels, *args, **kwargs)</dt><dd><tt>Set the text values of the tick labels. ticklabels is a<br>
sequence of strings. Return a list of AxisText instances</tt></dd></dl>
<dl><dt><a name="XAxis-set_ticks"><strong>set_ticks</strong></a>(self, ticks)</dt><dd><tt>Set the locations of the tick marks from sequence ticks</tt></dd></dl>
<dl><dt><a name="XAxis-zoom"><strong>zoom</strong></a>(self, direction)</dt><dd><tt>Zoom in/out on axis; if direction is >0 zoom in, else zoom out</tt></dd></dl>
<hr>
Data and other attributes inherited from <a href="matplotlib.axes.html#Axis">Axis</a>:<br>
<dl><dt><strong>LABELPAD</strong> = -0.01</dl>
<hr>
Methods inherited from <a href="matplotlib.artist.html#Artist">matplotlib.artist.Artist</a>:<br>
<dl><dt><a name="XAxis-draw"><strong>draw</strong></a>(self, drawable<font color="#909090">=None</font>, *args, **kwargs)</dt><dd><tt>Derived classes drawing method</tt></dd></dl>
<dl><dt><a name="XAxis-get_dpi"><strong>get_dpi</strong></a>(self)</dt><dd><tt>Get the DPI of the display</tt></dd></dl>
<dl><dt><a name="XAxis-get_window_extent"><strong>get_window_extent</strong></a>(self)</dt><dd><tt>Return the window extent of the <a href="matplotlib.artist.html#Artist">Artist</a> as a Bound2D instance</tt></dd></dl>
<dl><dt><a name="XAxis-set_clip_on"><strong>set_clip_on</strong></a>(self, b)</dt><dd><tt>Set whether artist is clipped to bbox</tt></dd></dl>
<dl><dt><a name="XAxis-set_lod"><strong>set_lod</strong></a>(self, on)</dt><dd><tt>Set Level of Detail on or off. If on, the artists may examine<br>
things like the pixel width of the axes and draw a subset of<br>
their contents accordingly</tt></dd></dl>
<dl><dt><a name="XAxis-set_renderer"><strong>set_renderer</strong></a>(self, renderer)</dt><dd><tt>Set the renderer</tt></dd></dl>
<dl><dt><a name="XAxis-set_transform"><strong>set_transform</strong></a>(self, transform)</dt><dd><tt>Set the artist transform for self and all children</tt></dd></dl>
<dl><dt><a name="XAxis-wash_brushes"><strong>wash_brushes</strong></a>(self)</dt><dd><tt>Erase any state vars that would impair a draw to a clean palette</tt></dd></dl>
<hr>
Data and other attributes inherited from <a href="matplotlib.artist.html#Artist">matplotlib.artist.Artist</a>:<br>
<dl><dt><strong>aname</strong> = 'Artist'</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom> <br>
<font color="#000000" face="helvetica, arial"><a name="XTick">class <strong>XTick</strong></a>(<a href="matplotlib.axes.html#Tick">Tick</a>)</font></td></tr>
<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td>
<td colspan=2><tt>Contains all the Artists needed to make an x tick - the tick line,<br>
the label text and the grid line<br> </tt></td></tr>
<tr><td> </td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="matplotlib.axes.html#XTick">XTick</a></dd>
<dd><a href="matplotlib.axes.html#Tick">Tick</a></dd>
<dd><a href="matplotlib.artist.html#Artist">matplotlib.artist.Artist</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="XTick-set_loc"><strong>set_loc</strong></a>(self, loc)</dt><dd><tt>Set the location of tick in data coords with scalar loc</tt></dd></dl>
<hr>
Methods inherited from <a href="matplotlib.axes.html#Tick">Tick</a>:<br>
<dl><dt><a name="XTick-__init__"><strong>__init__</strong></a>(self, axes, loc, label, size<font color="#909090">=4</font>, gridOn<font color="#909090">=False</font>, tick1On<font color="#909090">=True</font>, tick2On<font color="#909090">=True</font>, labelOn<font color="#909090">=True</font>)</dt><dd><tt>bbox is the Bound2D bounding box in display coords of the <a href="#Axes">Axes</a><br>
loc is the tick location in data coords<br>
size is the tick size in relative, axes coords</tt></dd></dl>
<dl><dt><a name="XTick-get_child_artists"><strong>get_child_artists</strong></a>(self)</dt></dl>
<dl><dt><a name="XTick-get_loc"><strong>get_loc</strong></a>(self)</dt><dd><tt>Return the tick location (data coords) as a scalar</tt></dd></dl>
<dl><dt><a name="XTick-set_label"><strong>set_label</strong></a>(self, s)</dt><dd><tt>Set the text of ticklabel in with string s</tt></dd></dl>
<hr>
Methods inherited from <a href="matplotlib.artist.html#Artist">matplotlib.artist.Artist</a>:<br>
<dl><dt><a name="XTick-draw"><strong>draw</strong></a>(self, drawable<font color="#909090">=None</font>, *args, **kwargs)</dt><dd><tt>Derived classes drawing method</tt></dd></dl>
<dl><dt><a name="XTick-get_dpi"><strong>get_dpi</strong></a>(self)</dt><dd><tt>Get the DPI of the display</tt></dd></dl>
<dl><dt><a name="XTick-get_window_extent"><strong>get_window_extent</strong></a>(self)</dt><dd><tt>Return the window extent of the <a href="matplotlib.artist.html#Artist">Artist</a> as a Bound2D instance</tt></dd></dl>
<dl><dt><a name="XTick-set_child_attr"><strong>set_child_attr</strong></a>(self, attr, val)</dt><dd><tt>Set attribute attr for self, and all child artists</tt></dd></dl>
<dl><dt><a name="XTick-set_clip_on"><strong>set_clip_on</strong></a>(self, b)</dt><dd><tt>Set whether artist is clipped to bbox</tt></dd></dl>
<dl><dt><a name="XTick-set_lod"><strong>set_lod</strong></a>(self, on)</dt><dd><tt>Set Level of Detail on or off. If on, the artists may examine<br>
things like the pixel width of the axes and draw a subset of<br>
their contents accordingly</tt></dd></dl>
<dl><dt><a name="XTick-set_renderer"><strong>set_renderer</strong></a>(self, renderer)</dt><dd><tt>Set the renderer</tt></dd></dl>
<dl><dt><a name="XTick-set_transform"><strong>set_transform</strong></a>(self, transform)</dt><dd><tt>Set the artist transform for self and all children</tt></dd></dl>
<dl><dt><a name="XTick-wash_brushes"><strong>wash_brushes</strong></a>(self)</dt><dd><tt>Erase any state vars that would impair a draw to a clean palette</tt></dd></dl>
<hr>
Data and other attributes inherited from <a href="matplotlib.artist.html#Artist">matplotlib.artist.Artist</a>:<br>
<dl><dt><strong>aname</strong> = 'Artist'</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom> <br>
<font color="#000000" face="helvetica, arial"><a name="YAxis">class <strong>YAxis</strong></a>(<a href="matplotlib.axes.html#Axis">Axis</a>)</font></td></tr>
<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="matplotlib.axes.html#YAxis">YAxis</a></dd>
<dd><a href="matplotlib.axes.html#Axis">Axis</a></dd>
<dd><a href="matplotlib.artist.html#Artist">matplotlib.artist.Artist</a></dd>
</dl>
<hr>
Methods inherited from <a href="matplotlib.axes.html#Axis">Axis</a>:<br>
<dl><dt><a name="YAxis-__init__"><strong>__init__</strong></a>(self, axes)</dt><dd><tt>Init the axis with the parent <a href="#Axes">Axes</a> instance</tt></dd></dl>
<dl><dt><a name="YAxis-autoscale_view"><strong>autoscale_view</strong></a>(self)</dt><dd><tt>Try to choose the view limits intelligently</tt></dd></dl>
<dl><dt><a name="YAxis-build_artists"><strong>build_artists</strong></a>(self)</dt><dd><tt>Call only after xaxis and yaxis have been initialized in axes<br>
since the trasnforms require both</tt></dd></dl>
<dl><dt><a name="YAxis-format_tickval"><strong>format_tickval</strong></a>(self, x)</dt><dd><tt>Format the number x as a string</tt></dd></dl>
<dl><dt><a name="YAxis-get_child_artists"><strong>get_child_artists</strong></a>(self)</dt><dd><tt>Return a list of all <a href="matplotlib.artist.html#Artist">Artist</a> instances contained by <a href="#Axis">Axis</a></tt></dd></dl>
<dl><dt><a name="YAxis-get_cm_transform"><strong>get_cm_transform</strong></a>(self, offset<font color="#909090">=None</font>, transOffset<font color="#909090">=Transform: Bound1D: 0 1 to Bound1D: 0 1</font>)</dt><dd><tt>Transform val cm to dots<br>
<br>
offset is a RRef instance for TransformSize. if None, use<br>
displaylim min. transOffset is a transform to transform the<br>
offset to display coords</tt></dd></dl>
<dl><dt><a name="YAxis-get_gridlines"><strong>get_gridlines</strong></a>(self)</dt><dd><tt>Return the grid lines as a list of Line2D instance</tt></dd></dl>
<dl><dt><a name="YAxis-get_inches_transform"><strong>get_inches_transform</strong></a>(self, offset<font color="#909090">=None</font>, transOffset<font color="#909090">=Transform: Bound1D: 0 1 to Bound1D: 0 1</font>)</dt><dd><tt>Transform val inches to dots<br>
<br>
offset is a RRef instance for TransformSize. if None, use<br>
displaylim min. transOffset is a transform to transform the<br>
offset to display coords</tt></dd></dl>
<dl><dt><a name="YAxis-get_label"><strong>get_label</strong></a>(self)</dt><dd><tt>Return the axis label as an AxisText instance</tt></dd></dl>
<dl><dt><a name="YAxis-get_mm_transform"><strong>get_mm_transform</strong></a>(self, offset<font color="#909090">=None</font>, transOffset<font color="#909090">=Transform: Bound1D: 0 1 to Bound1D: 0 1</font>)</dt><dd><tt>Transform val mm to dots<br>
<br>
offset is a RRef instance for TransformSize. if None, use<br>
displaylim min. transOffset is a transform to transform the<br>
offset to display coords</tt></dd></dl>
<dl><dt><a name="YAxis-get_numticks"><strong>get_numticks</strong></a>(self)</dt></dl>
<dl><dt><a name="YAxis-get_pts_transform"><strong>get_pts_transform</strong></a>(self, offset<font color="#909090">=None</font>, transOffset<font color="#909090">=Transform: Bound1D: 0 1 to Bound1D: 0 1</font>)</dt><dd><tt>Transform val points to dots<br>
<br>
offset is a RRef instance for TransformSize. if None, use<br>
displaylim min. transOffset is a transform to transform the<br>
offset to display coords</tt></dd></dl>
<dl><dt><a name="YAxis-get_ticklabels"><strong>get_ticklabels</strong></a>(self)</dt><dd><tt>Return a list of AxisText instances for ticklabels</tt></dd></dl>
<dl><dt><a name="YAxis-get_ticklines"><strong>get_ticklines</strong></a>(self)</dt><dd><tt>Return the ticklines lines as a list of Line2D instance</tt></dd></dl>
<dl><dt><a name="YAxis-get_ticklocs"><strong>get_ticklocs</strong></a>(self)</dt><dd><tt>Get the tick locations in data coordinates as a Numeric array</tt></dd></dl>
<dl><dt><a name="YAxis-get_ticks"><strong>get_ticks</strong></a>(self)</dt></dl>
<dl><dt><a name="YAxis-grid"><strong>grid</strong></a>(self, b)</dt><dd><tt>Set the axis grid on or off; b is a boolean</tt></dd></dl>
<dl><dt><a name="YAxis-is_log"><strong>is_log</strong></a>(self)</dt><dd><tt>Return true if log scaling is on</tt></dd></dl>
<dl><dt><a name="YAxis-pan"><strong>pan</strong></a>(self, numsteps)</dt><dd><tt>Pan numticks (can be positive or negative)</tt></dd></dl>
<dl><dt><a name="YAxis-set_child_attr"><strong>set_child_attr</strong></a>(self, attr, val)</dt><dd><tt>Set attribute attr for self, and all child artists</tt></dd></dl>
<dl><dt><a name="YAxis-set_scale"><strong>set_scale</strong></a>(self, value)</dt><dd><tt>Set the axis scale; either 'linear' or 'log'</tt></dd></dl>
<dl><dt><a name="YAxis-set_ticklabels"><strong>set_ticklabels</strong></a>(self, ticklabels, *args, **kwargs)</dt><dd><tt>Set the text values of the tick labels. ticklabels is a<br>
sequence of strings. Return a list of AxisText instances</tt></dd></dl>
<dl><dt><a name="YAxis-set_ticks"><strong>set_ticks</strong></a>(self, ticks)</dt><dd><tt>Set the locations of the tick marks from sequence ticks</tt></dd></dl>
<dl><dt><a name="YAxis-zoom"><strong>zoom</strong></a>(self, direction)</dt><dd><tt>Zoom in/out on axis; if direction is >0 zoom in, else zoom out</tt></dd></dl>
<hr>
Data and other attributes inherited from <a href="matplotlib.axes.html#Axis">Axis</a>:<br>
<dl><dt><strong>LABELPAD</strong> = -0.01</dl>
<hr>
Methods inherited from <a href="matplotlib.artist.html#Artist">matplotlib.artist.Artist</a>:<br>
<dl><dt><a name="YAxis-draw"><strong>draw</strong></a>(self, drawable<font color="#909090">=None</font>, *args, **kwargs)</dt><dd><tt>Derived classes drawing method</tt></dd></dl>
<dl><dt><a name="YAxis-get_dpi"><strong>get_dpi</strong></a>(self)</dt><dd><tt>Get the DPI of the display</tt></dd></dl>
<dl><dt><a name="YAxis-get_window_extent"><strong>get_window_extent</strong></a>(self)</dt><dd><tt>Return the window extent of the <a href="matplotlib.artist.html#Artist">Artist</a> as a Bound2D instance</tt></dd></dl>
<dl><dt><a name="YAxis-set_clip_on"><strong>set_clip_on</strong></a>(self, b)</dt><dd><tt>Set whether artist is clipped to bbox</tt></dd></dl>
<dl><dt><a name="YAxis-set_lod"><strong>set_lod</strong></a>(self, on)</dt><dd><tt>Set Level of Detail on or off. If on, the artists may examine<br>
things like the pixel width of the axes and draw a subset of<br>
their contents accordingly</tt></dd></dl>
<dl><dt><a name="YAxis-set_renderer"><strong>set_renderer</strong></a>(self, renderer)</dt><dd><tt>Set the renderer</tt></dd></dl>
<dl><dt><a name="YAxis-set_transform"><strong>set_transform</strong></a>(self, transform)</dt><dd><tt>Set the artist transform for self and all children</tt></dd></dl>
<dl><dt><a name="YAxis-wash_brushes"><strong>wash_brushes</strong></a>(self)</dt><dd><tt>Erase any state vars that would impair a draw to a clean palette</tt></dd></dl>
<hr>
Data and other attributes inherited from <a href="matplotlib.artist.html#Artist">matplotlib.artist.Artist</a>:<br>
<dl><dt><strong>aname</strong> = 'Artist'</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom> <br>
<font color="#000000" face="helvetica, arial"><a name="YTick">class <strong>YTick</strong></a>(<a href="matplotlib.axes.html#Tick">Tick</a>)</font></td></tr>
<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td>
<td colspan=2><tt>Contains all the Artists needed to make a Y tick - the tick line,<br>
the label text and the grid line<br> </tt></td></tr>
<tr><td> </td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="matplotlib.axes.html#YTick">YTick</a></dd>
<dd><a href="matplotlib.axes.html#Tick">Tick</a></dd>
<dd><a href="matplotlib.artist.html#Artist">matplotlib.artist.Artist</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="YTick-set_loc"><strong>set_loc</strong></a>(self, loc)</dt><dd><tt>Set the location of tick in data coords with scalar loc</tt></dd></dl>
<hr>
Methods inherited from <a href="matplotlib.axes.html#Tick">Tick</a>:<br>
<dl><dt><a name="YTick-__init__"><strong>__init__</strong></a>(self, axes, loc, label, size<font color="#909090">=4</font>, gridOn<font color="#909090">=False</font>, tick1On<font color="#909090">=True</font>, tick2On<font color="#909090">=True</font>, labelOn<font color="#909090">=True</font>)</dt><dd><tt>bbox is the Bound2D bounding box in display coords of the <a href="#Axes">Axes</a><br>
loc is the tick location in data coords<br>
size is the tick size in relative, axes coords</tt></dd></dl>
<dl><dt><a name="YTick-get_child_artists"><strong>get_child_artists</strong></a>(self)</dt></dl>
<dl><dt><a name="YTick-get_loc"><strong>get_loc</strong></a>(self)</dt><dd><tt>Return the tick location (data coords) as a scalar</tt></dd></dl>
<dl><dt><a name="YTick-set_label"><strong>set_label</strong></a>(self, s)</dt><dd><tt>Set the text of ticklabel in with string s</tt></dd></dl>
<hr>
Methods inherited from <a href="matplotlib.artist.html#Artist">matplotlib.artist.Artist</a>:<br>
<dl><dt><a name="YTick-draw"><strong>draw</strong></a>(self, drawable<font color="#909090">=None</font>, *args, **kwargs)</dt><dd><tt>Derived classes drawing method</tt></dd></dl>
<dl><dt><a name="YTick-get_dpi"><strong>get_dpi</strong></a>(self)</dt><dd><tt>Get the DPI of the display</tt></dd></dl>
<dl><dt><a name="YTick-get_window_extent"><strong>get_window_extent</strong></a>(self)</dt><dd><tt>Return the window extent of the <a href="matplotlib.artist.html#Artist">Artist</a> as a Bound2D instance</tt></dd></dl>
<dl><dt><a name="YTick-set_child_attr"><strong>set_child_attr</strong></a>(self, attr, val)</dt><dd><tt>Set attribute attr for self, and all child artists</tt></dd></dl>
<dl><dt><a name="YTick-set_clip_on"><strong>set_clip_on</strong></a>(self, b)</dt><dd><tt>Set whether artist is clipped to bbox</tt></dd></dl>
<dl><dt><a name="YTick-set_lod"><strong>set_lod</strong></a>(self, on)</dt><dd><tt>Set Level of Detail on or off. If on, the artists may examine<br>
things like the pixel width of the axes and draw a subset of<br>
their contents accordingly</tt></dd></dl>
<dl><dt><a name="YTick-set_renderer"><strong>set_renderer</strong></a>(self, renderer)</dt><dd><tt>Set the renderer</tt></dd></dl>
<dl><dt><a name="YTick-set_transform"><strong>set_transform</strong></a>(self, transform)</dt><dd><tt>Set the artist transform for self and all children</tt></dd></dl>
<dl><dt><a name="YTick-wash_brushes"><strong>wash_brushes</strong></a>(self)</dt><dd><tt>Erase any state vars that would impair a draw to a clean palette</tt></dd></dl>
<hr>
Data and other attributes inherited from <a href="matplotlib.artist.html#Artist">matplotlib.artist.Artist</a>:<br>
<dl><dt><strong>aname</strong> = 'Artist'</dl>
</td></tr></table></td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#eeaa77">
<td colspan=3 valign=bottom> <br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Functions</strong></big></font></td></tr>
<tr><td bgcolor="#eeaa77"><tt> </tt></td><td> </td>
<td width="100%"><dl><dt><a name="-arange"><strong>arange</strong></a>(...)</dt><dd><tt><a href="#-arange">arange</a>(start, stop=None, step=1, typecode=None)<br>
<br>
Just like range() except it returns an array whose type can be<br>
specified by the keyword argument typecode.</tt></dd></dl>
<dl><dt><a name="-array"><strong>array</strong></a>(...)</dt><dd><tt><a href="#-array">array</a>(sequence, typecode=None, copy=1, savespace=0) will return a new array formed from the given (potentially nested) sequence with type given by typecode. If no typecode is given, then the type will be determined as the minimum type required to hold the objects in sequence. If copy is zero and sequence is already an array, a reference will be returned. If savespace is nonzero, the new array will maintain its precision in operations.</tt></dd></dl>
<dl><dt><a name="-take"><strong>take</strong></a>(...)</dt><dd><tt><a href="#-take">take</a>(a, indices, axis=0). Selects the elements in indices from array a along the given axis.</tt></dd></dl>
<dl><dt><a name="-zeros"><strong>zeros</strong></a>(...)</dt><dd><tt><a href="#-zeros">zeros</a>((d1,...,dn),typecode='l',savespace=0) will return a new array of shape (d1,...,dn) and type typecode with all it's entries initialized to zero. If savespace is nonzero the array will be a spacesaver array.</tt></dd></dl>
</td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#55aa55">
<td colspan=3 valign=bottom> <br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr>
<tr><td bgcolor="#55aa55"><tt> </tt></td><td> </td>
<td width="100%"><strong>False</strong> = False<br>
<strong>Float</strong> = 'd'<br>
<strong>True</strong> = True<br>
<strong>division</strong> = _Feature((2, 2, 0, 'alpha', 2), (3, 0, 0, 'alpha', 0), 8192)<br>
<strong>generators</strong> = _Feature((2, 2, 0, 'alpha', 1), (2, 3, 0, 'final', 0), 4096)<br>
<strong>lineMarkers</strong> = {'+': 1, ',': 1, '.': 1, '<': 1, '>': 1, '^': 1, 'o': 1, 's': 1, 'v': 1}<br>
<strong>lineStyles</strong> = {'-': 1, '--': 1, '-.': 1, ':': 1}<br>
<strong>log10</strong> = <ufunc 'log10'></td></tr></table>
@footer@