Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 76a3ef6

Browse files
committed
docs: be consistent in referring to MATLAB.
For the legal rationale, see Joe Harrington's post to scipy-dev: http://article.gmane.org/gmane.comp.python.scientific.user/25399/match=matlab+trademark svn path=/trunk/matplotlib/; revision=8468
1 parent bdf00c4 commit 76a3ef6

File tree

9 files changed

+662
-640
lines changed

9 files changed

+662
-640
lines changed

doc/_templates/index.html

Lines changed: 24 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,19 @@ <h1>intro</h1>
99
publication quality figures in a variety of hardcopy formats and
1010
interactive environments across platforms. matplotlib can be used
1111
in python scripts, the python and <a
12-
href="http://ipython.scipy.org">ipython</a> shell (ala matlab or
13-
mathematica), web application servers, and six graphical user
12+
href="http://ipython.scipy.org">ipython</a> shell (ala
13+
MATLAB<sup>&reg;<a name="matlab" href="#ftn.matlab">*</a></sup>
14+
or
15+
Mathematica<sup>&reg;<a name="mathematica"
16+
href="#ftn.mathematica">&#8224;</a></sup>),
17+
web application servers, and six graphical user
1418
interface toolkits.</p>
1519

20+
21+
22+
23+
24+
1625
<p>matplotlib tries to make easy things easy and hard things possible.
1726
You can generate plots, histograms, power spectra, bar charts,
1827
errorcharts, scatterplots, etc, with just a few lines of code.
@@ -35,7 +44,7 @@ <h1>intro</h1>
3544

3645
<p>For the power user, you have full control of line styles, font
3746
properties, axes properties, etc, via an object oriented interface
38-
or via a set of functions familiar to Matlab&reg; users.
47+
or via a set of functions familiar to MATLAB users.
3948
The pylab mode provides all of the <a href="api/pyplot_api.html">pyplot</a> plotting
4049
functions listed below, as well as non-plotting functions from
4150
<a href="http://scipy.org/Numpy_Example_List_With_Doc">numpy</a> and
@@ -1193,4 +1202,16 @@ <h3>plotting commands</h3> <br/>
11931202

11941203
</tr>
11951204
</table>
1205+
1206+
<div class="footnote"><p>
1207+
<sup><a name="ftn.matlab" href="#matlab">*</a></sup>
1208+
MATLAB is a registered trademark of The MathWorks, Inc.
1209+
</p>
1210+
<p>
1211+
<sup><a name="ftn.mathematica" href="#mathematica">&#8224;</a></sup>
1212+
Mathematica is a registered trademark of Wolfram Research, Inc.
1213+
</p>
1214+
1215+
1216+
11961217
{% endblock %}

doc/api/api_changes.rst

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ Changes for 0.98.x
179179
to scale one-sided densities by a factor of 2. Also, optionally
180180
scale the densities by the sampling frequency, which gives true values
181181
of densities that can be integrated by the returned frequency values.
182-
This also gives better MatLab compatibility. The corresponding
182+
This also gives better MATLAB compatibility. The corresponding
183183
:class:`matplotlib.axes.Axes` methods and :mod:`matplotlib.pyplot`
184184
functions were updated as well.
185185

@@ -1094,7 +1094,7 @@ Changes for 0.72
10941094
- pylab figure now defaults to num=None, which creates a new figure
10951095
with a guaranteed unique number
10961096

1097-
- contour method syntax changed - now it is matlab compatible
1097+
- contour method syntax changed - now it is MATLAB compatible
10981098

10991099
unchanged: contour(Z)
11001100
old: contour(Z, x=Y, y=Y)
@@ -1183,7 +1183,7 @@ Changes for 0.65
11831183
::
11841184

11851185

1186-
mpl_connect and mpl_disconnect in the matlab interface renamed to
1186+
mpl_connect and mpl_disconnect in the MATLAB interface renamed to
11871187
connect and disconnect
11881188

11891189
Did away with the text methods for angle since they were ambiguous.
@@ -1272,7 +1272,7 @@ Changes for 0.54.3
12721272
Changes for 0.54
12731273
================
12741274

1275-
matlab interface
1275+
MATLAB interface
12761276
----------------
12771277

12781278
dpi
@@ -1289,7 +1289,7 @@ screen to get true sizes.
12891289
pcolor and scatter
12901290
~~~~~~~~~~~~~~~~~~
12911291

1292-
There are two changes to the matlab interface API, both involving the
1292+
There are two changes to the MATLAB interface API, both involving the
12931293
patch drawing commands. For efficiency, pcolor and scatter have been
12941294
rewritten to use polygon collections, which are a new set of objects
12951295
from matplotlib.collections designed to enable efficient handling of
@@ -1323,7 +1323,7 @@ property, eg to have different line widths, see matplotlib.collections
13231323
for a discussion on how to set the properties as a sequence.
13241324

13251325
For scatter, the size argument is now in points^2 (the area of the
1326-
symbol in points) as in matlab and is not in data coords as before.
1326+
symbol in points) as in MATLAB and is not in data coords as before.
13271327
Using sizes in data coords caused several problems. So you will need
13281328
to adjust your size arguments accordingly or use scatter_classic.
13291329

@@ -1491,7 +1491,7 @@ Changes for 0.50
14911491

14921492
* backends must implement FigureCanvasBackend (the thing that
14931493
controls the figure and handles the events if any) and
1494-
FigureManagerBackend (wraps the canvas and the window for matlab
1494+
FigureManagerBackend (wraps the canvas and the window for MATLAB
14951495
interface). FigureCanvasBase implements a backend switching
14961496
mechanism
14971497

@@ -1514,9 +1514,9 @@ Changes for 0.50
15141514

15151515
Migrating code:
15161516

1517-
Matlab interface:
1517+
MATLAB interface:
15181518

1519-
The only API change for those using the matlab interface is in how
1519+
The only API change for those using the MATLAB interface is in how
15201520
you call figure redraws for dynamically updating figures. In the
15211521
old API, you did
15221522

@@ -1653,7 +1653,7 @@ Changes for 0.40
16531653
- new module transforms supplies Bound1D, Bound2D and Transform
16541654
instances and more
16551655

1656-
- Changes to the matlab helpers API
1656+
- Changes to the MATLAB helpers API
16571657

16581658
* _matlab_helpers.GcfBase is renamed by Gcf. Backends no longer
16591659
need to derive from this class. Instead, they provide a factory

doc/faq/usage_faq.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,19 +17,19 @@ that gets
1717
installed alongside :mod:`matplotlib`; and :mod:`matplotlib.pyplot` is a
1818
module in matplotlib.
1919

20-
Pyplot provides a Matlab-style state-machine interface to
20+
Pyplot provides a MATLAB-style state-machine interface to
2121
the underlying object-oriented plotting library in matplotlib.
2222

2323
Pylab combines the pyplot functionality (for plotting) with the numpy
2424
functionality (for mathematics and for working with arrays)
2525
in a single namespace, making that namespace
26-
(or environment) even more Matlab-like. This is what you get if
26+
(or environment) even more MATLAB-like. This is what you get if
2727
you use the
2828
*ipython* shell with the *-pylab* option, which imports everything
2929
from pylab and makes plotting fully interactive.
3030

3131
We have been gradually converting the matplotlib examples
32-
from pure Matlab-style, using "from pylab import \*", to a preferred
32+
from pure MATLAB-style, using "from pylab import \*", to a preferred
3333
style in which pyplot is used for some convenience functions, either
3434
pyplot or the object-oriented style is used for the remainder of the
3535
plotting code, and numpy is used explicitly for numeric array operations.
@@ -42,7 +42,7 @@ In this preferred style, the imports at the top are::
4242
Then one calls, for example, np.arange, np.zeros, np.pi, plt.figure,
4343
plt.plot, plt.show, etc.
4444

45-
Example, pure Matlab-style::
45+
Example, pure MATLAB-style::
4646

4747
from pylab import *
4848
x = arange(0, 10, 0.2)
@@ -71,7 +71,7 @@ And using pyplot convenience functions, but object-orientation for the rest::
7171
plt.show()
7272

7373
So, why do all the extra typing required as one moves away from the pure
74-
matlab-style? For very simple things like this example, the only
74+
MATLAB-style? For very simple things like this example, the only
7575
advantage is educational: the wordier styles are more explicit, more
7676
clear as to where things come from and what is going on. For more
7777
complicated applications, the explicitness and clarity become

0 commit comments

Comments
 (0)