From: <ef...@us...> - 2010-06-26 19:29:54
|
Revision: 8471 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8471&view=rev Author: efiring Date: 2010-06-26 19:29:48 +0000 (Sat, 26 Jun 2010) Log Message: ----------- docs: add 4 new pyplot functions Modified Paths: -------------- trunk/matplotlib/doc/_templates/index.html trunk/matplotlib/doc/api/api_changes.rst trunk/matplotlib/lib/matplotlib/pylab.py Modified: trunk/matplotlib/doc/_templates/index.html =================================================================== --- trunk/matplotlib/doc/_templates/index.html 2010-06-26 19:04:53 UTC (rev 8470) +++ trunk/matplotlib/doc/_templates/index.html 2010-06-26 19:29:48 UTC (rev 8471) @@ -620,6 +620,18 @@ </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> @@ -642,6 +654,18 @@ </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> @@ -950,6 +974,29 @@ </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> Modified: trunk/matplotlib/doc/api/api_changes.rst =================================================================== --- trunk/matplotlib/doc/api/api_changes.rst 2010-06-26 19:04:53 UTC (rev 8470) +++ trunk/matplotlib/doc/api/api_changes.rst 2010-06-26 19:29:48 UTC (rev 8471) @@ -10,9 +10,10 @@ Changes beyond 0.99.x ===================== -* There are three new Axes methods with corresponding pyplot +* There are four new Axes methods with corresponding pyplot functions to facilitate autoscaling, tick location, and tick - label formatting: + label formatting, and the general appearance of ticks and + tick labels: + :meth:`matplotlib.axes.Axes.margins` sets margins used to autoscale the :attr:`matplotlib.axes.Axes.viewLim` based on @@ -25,6 +26,9 @@ method for controlling the :class:`matplotlib.ticker.ScalarFormatter` that is used by default with linear axes. + + :meth:`matplotlib.axes.Axes.tick_params` controls direction, size, + visibility, and color of ticks and their labels. + * The :meth:`matplotlib.axes.Axes.bar` method accepts a *error_kw* kwarg; it is a dictionary of kwargs to be passed to the errorbar function. Modified: trunk/matplotlib/lib/matplotlib/pylab.py =================================================================== --- trunk/matplotlib/lib/matplotlib/pylab.py 2010-06-26 19:04:53 UTC (rev 8470) +++ trunk/matplotlib/lib/matplotlib/pylab.py 2010-06-26 19:29:48 UTC (rev 8471) @@ -56,8 +56,10 @@ imshow - plot image data ishold - return the hold state of the current axes legend - make an axes legend + locator_params - adjust parameters used in locating axis ticks loglog - a log log plot matshow - display a matrix in a new figure preserving aspect + margins - set margins used in autoscaling pcolor - make a pseudocolor plot pcolormesh - make a pseudocolor plot using a quadrilateral mesh pie - make a pie chart @@ -86,6 +88,8 @@ table - add a table to the plot text - add some text at location x,y to the current axes thetagrids - customize the radial theta grids and labels for polar + tick_params - control the appearance of ticks and tick labels + ticklabel_format - control the format of tick labels title - add a title to the current axes xcorr - plot the autocorrelation function of x and y xlim - set/get the xlimits This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |