Revision: 6960
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6960&view=rev
Author: efiring
Date: 2009-03-07 19:19:40 +0000 (Sat, 07 Mar 2009)
Log Message:
-----------
Remove references to handle graphics;
it is registered trademark of Mathworks, and the pyplot resemblance
is only superficial.
Modified Paths:
--------------
branches/v0_98_5_maint/doc/_templates/index.html
branches/v0_98_5_maint/doc/pyplots/tex_demo.png
branches/v0_98_5_maint/doc/users/pyplot_tutorial.rst
branches/v0_98_5_maint/examples/pylab_examples/axes_props.py
branches/v0_98_5_maint/lib/matplotlib/pylab.py
branches/v0_98_5_maint/lib/matplotlib/pyplot.py
Modified: branches/v0_98_5_maint/doc/_templates/index.html
===================================================================
--- branches/v0_98_5_maint/doc/_templates/index.html 2009-03-06 19:14:30 UTC
(rev 6959)
+++ branches/v0_98_5_maint/doc/_templates/index.html 2009-03-07 19:19:40 UTC
(rev 6960)
@@ -35,7 +35,7 @@
<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 handle graphics interface familiar to Matlab® users.
+ 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
@@ -473,7 +473,7 @@
</th>
<td align="left">
- get a handle graphics property
+ get a graphics property
</td>
</tr>
@@ -781,7 +781,7 @@
</th>
<td align="left">
- set a handle graphics property
+ set a graphics property
</td>
</tr>
Modified: branches/v0_98_5_maint/doc/pyplots/tex_demo.png
===================================================================
(Binary files differ)
Modified: branches/v0_98_5_maint/doc/users/pyplot_tutorial.rst
===================================================================
--- branches/v0_98_5_maint/doc/users/pyplot_tutorial.rst 2009-03-06
19:14:30 UTC (rev 6959)
+++ branches/v0_98_5_maint/doc/users/pyplot_tutorial.rst 2009-03-07
19:19:40 UTC (rev 6960)
@@ -78,10 +78,10 @@
line.set_antialiased(False) # turn off antialising
* Use the :func:`~matplotlib.pyplot.setp` command. The example below
- uses matlab handle graphics style command to set multiple properties
+ uses a Matlab-style command to set multiple properties
on a list of lines. ``setp`` works transparently with a list of objects
or a single object. You can either use python keyword arguments or
- matlab-style string/value pairs::
+ Matlab-style string/value pairs::
lines = plt.plot(x1, y1, x2, y2)
# use keyword args
Modified: branches/v0_98_5_maint/examples/pylab_examples/axes_props.py
===================================================================
--- branches/v0_98_5_maint/examples/pylab_examples/axes_props.py
2009-03-06 19:14:30 UTC (rev 6959)
+++ branches/v0_98_5_maint/examples/pylab_examples/axes_props.py
2009-03-07 19:19:40 UTC (rev 6960)
@@ -10,7 +10,7 @@
plot(t, s)
grid(True)
-# matlab handle graphics style
+# matlab style
xticklines = getp(gca(), 'xticklines')
yticklines = getp(gca(), 'yticklines')
xgridlines = getp(gca(), 'xgridlines')
Modified: branches/v0_98_5_maint/lib/matplotlib/pylab.py
===================================================================
--- branches/v0_98_5_maint/lib/matplotlib/pylab.py 2009-03-06 19:14:30 UTC
(rev 6959)
+++ branches/v0_98_5_maint/lib/matplotlib/pylab.py 2009-03-07 19:19:40 UTC
(rev 6960)
@@ -42,7 +42,7 @@
gca - return the current axes
gcf - return the current figure
gci - get the current image, or None
- getp - get a handle graphics property
+ getp - get a graphics property
grid - set whether gridding is on
hist - make a histogram
hold - set the axes hold state
@@ -69,7 +69,7 @@
rgrids - customize the radial grids and labels for polar
savefig - save the current figure
scatter - make a scatter plot
- setp - set a handle graphics property
+ setp - set a graphics property
semilogx - log x axis
semilogy - log y axis
show - show the figures
Modified: branches/v0_98_5_maint/lib/matplotlib/pyplot.py
===================================================================
--- branches/v0_98_5_maint/lib/matplotlib/pyplot.py 2009-03-06 19:14:30 UTC
(rev 6959)
+++ branches/v0_98_5_maint/lib/matplotlib/pyplot.py 2009-03-07 19:19:40 UTC
(rev 6960)
@@ -193,7 +193,7 @@
*number* attribute holding this number.
If *num* is an integer, and ``figure(num)`` already exists, make it
- active and return the handle to it. If ``figure(num)`` does not exist
+ active and return a reference to it. If ``figure(num)`` does not exist
it will be created. Numbering starts at 1, matlab style::
figure(1)
@@ -264,7 +264,7 @@
return figManager.canvas.figure
def gcf():
- "Return a handle to the current figure."
+ "Return a reference to the current figure."
figManager = _pylab_helpers.Gcf.get_active()
if figManager is not None:
@@ -1166,7 +1166,7 @@
gca return the current axes
gcf return the current figure
gci get the current image, or None
- getp get a handle graphics property
+ getp get a graphics property
hist make a histogram
hold set the hold state on current axes
legend add a legend to the axes
@@ -1182,7 +1182,7 @@
rc control the default params
savefig save the current figure
scatter make a scatter plot
- setp set a handle graphics property
+ setp set a graphics property
semilogx log x axis
semilogy log y axis
show show the figures
@@ -1229,7 +1229,7 @@
def colors():
"""
- This is a do nothing function to provide you with help on how
+ This is a do-nothing function to provide you with help on how
matplotlib handles colors.
Commands which take color arguments can use several formats to
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins