<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>matplotlib: python plotting — Matplotlib v1.1.1 documentation</title> <link rel="stylesheet" href="_static/mpl.css" type="text/css" /> <link rel="stylesheet" href="_static/pygments.css" type="text/css" /> <script type="text/javascript"> var DOCUMENTATION_OPTIONS = { URL_ROOT: '', VERSION: '1.1.1', COLLAPSE_INDEX: false, FILE_SUFFIX: '.html', HAS_SOURCE: true }; </script> <script type="text/javascript" src="_static/jquery.js"></script> <script type="text/javascript" src="_static/underscore.js"></script> <script type="text/javascript" src="_static/doctools.js"></script> <link rel="search" type="application/opensearchdescription+xml" title="Search within Matplotlib v1.1.1 documentation" href="_static/opensearch.xml"/> <link rel="top" title="Matplotlib v1.1.1 documentation" href="#" /> </head> <body> <!-- Piwik --> <script type="text/javascript"> if ("matplotlib.sourceforge.net" == document.location.hostname || "matplotlib.sf.net" == document.location.hostname) { var pkBaseURL = (("https:" == document.location.protocol) ? "https://apps.sourceforge.net/piwik/matplotlib/" : "http://apps.sourceforge.net/piwik/matplotlib/"); document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E")); } </script> <script type="text/javascript"> if ("matplotlib.sourceforge.net" == document.location.hostname || "matplotlib.sf.net" == document.location.hostname) { piwik_action_name = ''; piwik_idsite = 1; piwik_url = pkBaseURL + "piwik.php"; piwik_log(piwik_action_name, piwik_idsite, piwik_url); document.write(unescape('%3Cobject%3E%3Cnoscript%3E%3Cp%3E%3Cimg src="http://apps.sourceforge.net/piwik/matplotlib/piwik.php?idsite=1" alt="piwik"/%3E%3C/p%3E%3C/noscript%3E%3C/object%3E')); } </script> <!-- End Piwik Tag --> <link rel="shortcut icon" href="_static/favicon.ico"> <div style="background-color: white; text-align: left; padding: 10px 10px 15px 15px"> <a href="#"><img src="_static/logo2.png" border="0" alt="matplotlib"/></a> </div> <div class="related"> <h3>Navigation</h3> <ul> <li class="right" style="margin-right: 10px"> <a href="genindex.html" title="General Index" accesskey="I">index</a></li> <li class="right" > <a href="py-modindex.html" title="Python Module Index" >modules</a> |</li> <li><a href="#">home</a>| </li> <li><a href="search.html">search</a>| </li> <li><a href="examples/index.html">examples</a>| </li> <li><a href="gallery.html">gallery</a>| </li> <li><a href="contents.html">docs</a> »</li> </ul> </div> <div class="sphinxsidebar"> <div class="sphinxsidebarwrapper"><h3>News</h3> <p>Please <a href="http://sourceforge.net/project/project_donations.php?group_id=80706">donate</a> to support matplotlib development.</p> <p>Matplotlib 1.1.1 is available for <a href="https://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-1.1.1/">download</a>. See <a href="users/whats_new.html">what's new</a> and tips on <a href="users/installing.html">installing</a>. </p> <p>Sandro Tosi has a new book <a href="http://www.packtpub.com/matplotlib-python-development/book?utm_source=matplotlib.sourceforge.net&utm_medium=link&utm_content=pod&utm_campaign=mdb_002124">Matplotlib for python developers</a> also at <a href="http://www.amazon.com/Matplotlib-Python-Developers-Sandro-Tosi/dp/1847197906">amazon</a>.</p> <p>Build websites like matplotlib's, with <a href="http://sphinx.pocoo.org/">Sphinx</a> and extensions for mpl plots, math, inheritance diagrams -- try the <a href="http://matplotlib.sf.net/sampledoc">sampledoc</a> tutorial. </p> <h3>Videos</h3> <p>Watch the <a href="http://conference.scipy.org/">SciPy</a> 2009 <a href="http://www.archive.org/details/scipy09_introTutorialDay2_1">intro</a> and <a href="http://www.archive.org/details/scipy09_advancedTutorialDay1_3">advanced</a> matplotlib tutorials </p> <p>Watch a <a href="http://videolectures.net/mloss08_hunter_mat">talk</a> about matplotlib presented at <a href="http://videolectures.net/mloss08_whistler">NIPS 08 Workshop</a> <i>MLOSS</i></a> and one <a href="http://carlfk.blip.tv/file/2557425">presented</a> at <a href="http://chipy.org">ChiPy</a>. </p> <h3>Toolkits</h3> <p>There are several matplotlib add-on <a href="mpl_toolkits/index.html">toolkits</a>, including the projection and mapping toolkit <a href="http://matplotlib.github.com/basemap">basemap</a>, 3d plotting with <a href="mpl_toolkits/mplot3d/index.html">mplot3d</a>, axes and axis helpers in <a href="mpl_toolkits/axes_grid/index.html">axes_grid</a> and more. </p> <h3>Need help?</h3> <p>Check the <a href="users/index.html">user guide</a>, the <a href="faq/index.html">faq</a>, the <a href="api/index.html">api</a> docs, <a href="http://sourceforge.net/mailarchive/forum.php?forum_name=matplotlib-users">archives</a>, and join the matplotlib mailing <a href="http://sourceforge.net/mail/?group_id=80706">lists</a>. The <a href="search.html">search</a> tool searches all of the documentation, including full text search of over 350 complete examples which exercise almost every corner of matplotlib.</p> <p>You can file bugs, patches and feature requests on the github <a href="https://github.com/matplotlib/matplotlib/issues?sort=created&direction=desc&state=open">tracker</a>, but it is a good idea to ping us on the mailing list too.</p> <p>For details on what's new, see the detailed <a href="_static/CHANGELOG">changelog</a> or browse the <a href="https://github.com/matplotlib/matplotlib">source code</a>. Anything that could require changes to your existing codes is logged in the <a href="api/api_changes.html">api changes</a> file.</p> <h3>Other stuff</h3> <p>The matplotlib <a href="users/license.html">license</a> is based on the Python Software Foundation <a href="http://www.python.org/psf/license">(PSF)</a> license.</p> <p>There is an active developer community and a long list of people who have made significant <a href="users/credits.html">contributions</a>.</p> <div id="searchbox" style="display: none"> <h3>Quick search</h3> <form class="search" action="search.html" method="get"> <input type="text" name="q" size="18" /> <input type="submit" value="Go" /> <input type="hidden" name="check_keywords" value="yes" /> <input type="hidden" name="area" value="default" /> </form> <p class="searchtip" style="font-size: 90%"> Enter search terms or a module, class or function name. </p> </div> <script type="text/javascript">$('#searchbox').show(0);</script> </div> </div> <div class="document"> <div class="documentwrapper"> <div class="bodywrapper"> <div class="body"> <h1>intro</h1> <p>matplotlib is a python 2D plotting library which produces publication quality figures in a variety of hardcopy formats and interactive environments across platforms. matplotlib can be used in python scripts, the python and <a href="http://ipython.org">ipython</a> shell (ala MATLAB<sup>®<a name="matlab" href="#ftn.matlab">*</a></sup> or Mathematica<sup>®<a name="mathematica" href="#ftn.mathematica">†</a></sup>), web application servers, and six graphical user interface toolkits.</p> <p>matplotlib tries to make easy things easy and hard things possible. You can generate plots, histograms, power spectra, bar charts, errorcharts, scatterplots, etc, with just a few lines of code. For a sampling, see the <a href="users/screenshots.html">screenshots</a>, <a href="gallery.html">thumbnail</a> gallery, and <a href="examples/index.html">examples</a> directory</p> <p align="center"><a href="users/screenshots.html"><img align="middle" src="_static/logo_sidebar_horiz.png" border="0" alt="screenshots"/></a></p> <p>For example, using "ipython -pylab" to provide an interactive environment, to generate 10,000 gaussian random numbers and plot a histogram with 100 bins, you simply need to type</p> <pre> x = randn(10000) hist(x, 100)</pre> <p>For the power user, you have full control of line styles, font properties, axes properties, etc, via an object oriented interface or via a set of functions familiar to MATLAB users. The pylab mode provides all of the <a href="api/pyplot_api.html">pyplot</a> plotting functions listed below, as well as non-plotting functions from <a href="http://scipy.org/Numpy_Example_List_With_Doc">numpy</a> and <a href="api/mlab_api.html">matplotlib.mlab</a>.</p> <h3>plotting commands</h3> <br/> <table border="1" cellpadding="3" cellspacing="2"> <tr><th>Function</th><th>Description</th></tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.acorr">acorr</a> </th> <td align="left"> plot the autocorrelation function </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.annotate">annotate</a> </th> <td align="left"> annotate something in the figure </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.arrow">arrow</a> </th> <td align="left"> add an arrow to the axes </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.axes">axes</a> </th> <td align="left"> create a new axes </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.axhline">axhline</a> </th> <td align="left"> draw a horizontal line across axes </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.axvline">axvline</a> </th> <td align="left"> draw a vertical line across axes </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.axhspan">axhspan</a> </th> <td align="left"> draw a horizontal bar across axes </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.axvspan">axvspan</a> </th> <td align="left"> draw a vertical bar across axes </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.axis">axis</a> </th> <td align="left"> set or return the current axis limits </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.barbs">barbs</a> </th> <td align="left"> a (wind) barb plot </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.bar">bar</a> </th> <td align="left"> make a bar chart </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.barh">barh</a> </th> <td align="left"> a horizontal bar chart </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.broken_barh">broken_barh</a> </th> <td align="left"> a set of horizontal bars with gaps </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.box">box</a> </th> <td align="left"> set the axes frame on/off state </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.boxplot">boxplot</a> </th> <td align="left"> make a box and whisker plot </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.cla">cla</a> </th> <td align="left"> clear current axes </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.clabel">clabel</a> </th> <td align="left"> label a contour plot </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.clf">clf</a> </th> <td align="left"> clear a figure window </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.clim">clim</a> </th> <td align="left"> adjust the color limits of the current image </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.close">close</a> </th> <td align="left"> close a figure window </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.colorbar">colorbar</a> </th> <td align="left"> add a colorbar to the current figure </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.cohere">cohere</a> </th> <td align="left"> make a plot of coherence </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.contour">contour</a> </th> <td align="left"> make a contour plot </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.contourf">contourf</a> </th> <td align="left"> make a filled contour plot </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.csd">csd</a> </th> <td align="left"> make a plot of cross spectral density </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.delaxes">delaxes</a> </th> <td align="left"> delete an axes from the current figure </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.draw">draw</a> </th> <td align="left"> Force a redraw of the current figure </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.errorbar">errorbar</a> </th> <td align="left"> make an errorbar graph </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.figlegend">figlegend</a> </th> <td align="left"> make legend on the figure rather than the axes </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.figimage">figimage</a> </th> <td align="left"> make a figure image </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.figtext">figtext</a> </th> <td align="left"> add text in figure coords </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.figure">figure</a> </th> <td align="left"> create or change active figure </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.fill">fill</a> </th> <td align="left"> make filled polygons </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.fill_between">fill_between</a> </th> <td align="left"> make filled polygons between two curves </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.findobj">findobj</a> </th> <td align="left"> recursively find all objects matching some criteria </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.gca">gca</a> </th> <td align="left"> return the current axes </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.gcf">gcf</a> </th> <td align="left"> return the current figure </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.gci">gci</a> </th> <td align="left"> get the current image, or None </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.getp">getp</a> </th> <td align="left"> get a graphics property </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.grid">grid</a> </th> <td align="left"> set whether gridding is on </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.hexbin">hexbin</a> </th> <td align="left"> make a 2D hexagonal binning plot </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.hist">hist</a> </th> <td align="left"> make a histogram </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.hold">hold</a> </th> <td align="left"> set the axes hold state </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.ioff">ioff</a> </th> <td align="left"> turn interaction mode off </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.ion">ion</a> </th> <td align="left"> turn interaction mode on </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.isinteractive">isinteractive</a> </th> <td align="left"> return True if interaction mode is on </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.imread">imread</a> </th> <td align="left"> load image file into array </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.imsave">imsave</a> </th> <td align="left"> save array as an image file </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.imshow">imshow</a> </th> <td align="left"> plot image data </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.ishold">ishold</a> </th> <td align="left"> return the hold state of the current axes </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.legend">legend</a> </th> <td align="left"> make an axes legend </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.locator_params">locator_params</a> </th> <td align="left"> adjust parameters used in locating axis ticks </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.loglog">loglog</a> </th> <td align="left"> a log log plot </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.matshow">matshow</a> </th> <td align="left"> display a matrix in a new figure preserving aspect </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.margins">margins</a> </th> <td align="left"> set margins used in autoscaling </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.pcolor">pcolor</a> </th> <td align="left"> make a pseudocolor plot </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.pcolormesh">pcolormesh</a> </th> <td align="left"> make a pseudocolor plot using a quadrilateral mesh </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.pie">pie</a> </th> <td align="left"> make a pie chart </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.plot">plot</a> </th> <td align="left"> make a line plot </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.plot_date">plot_date</a> </th> <td align="left"> plot dates </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.plotfile">plotfile</a> </th> <td align="left"> plot column data from an ASCII tab/space/comma delimited file </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.pie">pie</a> </th> <td align="left"> pie charts </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.polar">polar</a> </th> <td align="left"> make a polar plot on a PolarAxes </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.psd">psd</a> </th> <td align="left"> make a plot of power spectral density </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.quiver">quiver</a> </th> <td align="left"> make a direction field (arrows) plot </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.rc">rc</a> </th> <td align="left"> control the default params </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.rgrids">rgrids</a> </th> <td align="left"> customize the radial grids and labels for polar </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.savefig">savefig</a> </th> <td align="left"> save the current figure </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.scatter">scatter</a> </th> <td align="left"> make a scatter plot </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.setp">setp</a> </th> <td align="left"> set a graphics property </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.semilogx">semilogx</a> </th> <td align="left"> log x axis </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.semilogy">semilogy</a> </th> <td align="left"> log y axis </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.show">show</a> </th> <td align="left"> show the figures </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.specgram">specgram</a> </th> <td align="left"> a spectrogram plot </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.spy">spy</a> </th> <td align="left"> plot sparsity pattern using markers or image </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.stem">stem</a> </th> <td align="left"> make a stem plot </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.subplot">subplot</a> </th> <td align="left"> make a subplot (numrows, numcols, axesnum) </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.subplots">subplots</a> </th> <td align="left"> Create a figure with subplots </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.subplots_adjust">subplots_adjust</a> </th> <td align="left"> change the params controlling the subplot positions of current figure </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.subplot_tool">subplot_tool</a> </th> <td align="left"> launch the subplot configuration tool </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.suptitle">suptitle</a> </th> <td align="left"> add a figure title </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.table">table</a> </th> <td align="left"> add a table to the plot </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.text">text</a> </th> <td align="left"> add some text at location x,y to the current axes </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.thetagrids">thetagrids</a> </th> <td align="left"> customize the radial theta grids and labels for polar </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.tick_params">tick_params</a> </th> <td align="left"> control the appearance of ticks and tick labels </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.ticklabel_format">ticklabel_format</a> </th> <td align="left"> control the format of tick labels </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.title">title</a> </th> <td align="left"> add a title to the current axes </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.tricontour">tricontour</a> </th> <td align="left"> make a contour plot on a triangular grid </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.tricontourf">tricontourf</a> </th> <td align="left"> make a filled contour plot on a triangular grid </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.tripcolor">tripcolor</a> </th> <td align="left"> make a pseudocolor plot on a triangular grid </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.triplot">triplot</a> </th> <td align="left"> plot a triangular grid </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.xcorr">xcorr</a> </th> <td align="left"> plot the autocorrelation function of x and y </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.xlim">xlim</a> </th> <td align="left"> set/get the xlimits </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.ylim">ylim</a> </th> <td align="left"> set/get the ylimits </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.xticks">xticks</a> </th> <td align="left"> set/get the xticks </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.yticks">yticks</a> </th> <td align="left"> set/get the yticks </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.xlabel">xlabel</a> </th> <td align="left"> add an xlabel to the current axes </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.ylabel">ylabel</a> </th> <td align="left"> add a ylabel to the current axes </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.autumn">autumn</a> </th> <td align="left"> set the default colormap to autumn </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.bone">bone</a> </th> <td align="left"> set the default colormap to bone </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.cool">cool</a> </th> <td align="left"> set the default colormap to cool </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.copper">copper</a> </th> <td align="left"> set the default colormap to copper </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.flag">flag</a> </th> <td align="left"> set the default colormap to flag </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.gray">gray</a> </th> <td align="left"> set the default colormap to gray </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.hot">hot</a> </th> <td align="left"> set the default colormap to hot </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.hsv">hsv</a> </th> <td align="left"> set the default colormap to hsv </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.jet">jet</a> </th> <td align="left"> set the default colormap to jet </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.pink">pink</a> </th> <td align="left"> set the default colormap to pink </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.prism">prism</a> </th> <td align="left"> set the default colormap to prism </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.spring">spring</a> </th> <td align="left"> set the default colormap to spring </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.summer">summer</a> </th> <td align="left"> set the default colormap to summer </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.winter">winter</a> </th> <td align="left"> set the default colormap to winter </td> </tr> <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.spectral">spectral</a> </th> <td align="left"> set the default colormap to spectral </td> </tr> </table> <div class="footnote"><p> <sup><a name="ftn.matlab" href="#matlab">*</a></sup> MATLAB is a registered trademark of The MathWorks, Inc. </p> <p> <sup><a name="ftn.mathematica" href="#mathematica">†</a></sup> Mathematica is a registered trademark of Wolfram Research, Inc. </p> </div> </div> </div> <div class="clearer"></div> </div> <div class="related"> <h3>Navigation</h3> <ul> <li class="right" style="margin-right: 10px"> <a href="genindex.html" title="General Index" >index</a></li> <li class="right" > <a href="py-modindex.html" title="Python Module Index" >modules</a> |</li> <li><a href="#">home</a>| </li> <li><a href="search.html">search</a>| </li> <li><a href="examples/index.html">examples</a>| </li> <li><a href="gallery.html">gallery</a>| </li> <li><a href="contents.html">docs</a> »</li> </ul> </div> <div class="footer"> © Copyright 2008, John Hunter, Darren Dale, Michael Droettboom. Last updated on Oct 04, 2012. Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.0.7. </div> </body> </html>