From: <ian...@us...> - 2010-07-16 13:46:20
|
Revision: 8559 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8559&view=rev Author: ianthomas23 Date: 2010-07-16 13:46:14 +0000 (Fri, 16 Jul 2010) Log Message: ----------- Added tri* functions to pyplot docs. Modified Paths: -------------- branches/v1_0_maint/doc/_templates/index.html branches/v1_0_maint/doc/api/api_changes.rst branches/v1_0_maint/lib/matplotlib/pylab.py branches/v1_0_maint/lib/matplotlib/tri/tricontour.py Modified: branches/v1_0_maint/doc/_templates/index.html =================================================================== --- branches/v1_0_maint/doc/_templates/index.html 2010-07-15 20:47:28 UTC (rev 8558) +++ branches/v1_0_maint/doc/_templates/index.html 2010-07-16 13:46:14 UTC (rev 8559) @@ -994,7 +994,6 @@ </td> </tr> - <tr> <th align="left"> <a href="api/pyplot_api.html#matplotlib.pyplot.title">title</a> @@ -1008,6 +1007,50 @@ </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> Modified: branches/v1_0_maint/doc/api/api_changes.rst =================================================================== --- branches/v1_0_maint/doc/api/api_changes.rst 2010-07-15 20:47:28 UTC (rev 8558) +++ branches/v1_0_maint/doc/api/api_changes.rst 2010-07-16 13:46:14 UTC (rev 8559) @@ -117,6 +117,21 @@ draw_image(self, gc, x, y, im) +* There are four new Axes methods with corresponding pyplot + functions that deal with unstructured triangular grids: + + + :meth:`matplotlib.axes.Axes.tricontour` draws contour lines + on a triangular grid. + + + :meth:`matplotlib.axes.Axes.tricontourf` draws filled contours + on a triangular grid. + + + :meth:`matplotlib.axes.Axes.tripcolor` draws a pseudocolor + plot on a triangular grid. + + + :meth:`matplotlib.axes.Axes.triplot` draws a triangular grid + as lines and/or markers. + Changes in 0.99 ====================== Modified: branches/v1_0_maint/lib/matplotlib/pylab.py =================================================================== --- branches/v1_0_maint/lib/matplotlib/pylab.py 2010-07-15 20:47:28 UTC (rev 8558) +++ branches/v1_0_maint/lib/matplotlib/pylab.py 2010-07-16 13:46:14 UTC (rev 8559) @@ -92,6 +92,10 @@ 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 + tricontour - make a contour plot on a triangular grid + tricontourf - make a filled contour plot on a triangular grid + tripcolor - make a pseudocolor plot on a triangular grid + triplot - plot a triangular grid xcorr - plot the autocorrelation function of x and y xlim - set/get the xlimits ylim - set/get the ylimits Modified: branches/v1_0_maint/lib/matplotlib/tri/tricontour.py =================================================================== --- branches/v1_0_maint/lib/matplotlib/tri/tricontour.py 2010-07-15 20:47:28 UTC (rev 8558) +++ branches/v1_0_maint/lib/matplotlib/tri/tricontour.py 2010-07-16 13:46:14 UTC (rev 8559) @@ -93,7 +93,8 @@ tricontour_doc = """ :func:`~matplotlib.pyplot.tricontour` and :func:`~matplotlib.pyplot.tricontourf` draw contour lines and - filled contours, respectively. Except as noted, function + filled contours, respectively, on an unstructured triangular + grid. Except as noted, function signatures and return values are the same for both versions. The triangulation can be specified in one of two ways; either:: This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |