Skip to content

Commit 9f12d1b

Browse files
committed
examples: fix references to MATLAB
svn path=/trunk/matplotlib/; revision=8469
1 parent 76a3ef6 commit 9f12d1b

File tree

9 files changed

+12
-12
lines changed

9 files changed

+12
-12
lines changed

examples/animation/movie_demo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@
8787

8888
for i in range(len(y)) :
8989
#
90-
# The next four lines are just like Matlab.
90+
# The next four lines are just like MATLAB.
9191
#
9292
plt.plot(x,y[i],'b.')
9393
plt.axis((x[0],x[-1],-0.25,1))

examples/pylab_examples/axes_props.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
plot(t, s)
1111
grid(True)
1212

13-
# matlab style
13+
# MATLAB style
1414
xticklines = getp(gca(), 'xticklines')
1515
yticklines = getp(gca(), 'yticklines')
1616
xgridlines = getp(gca(), 'xgridlines')

examples/pylab_examples/color_demo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"""
33
matplotlib gives you 4 ways to specify colors,
44
5-
1) as a single letter string, ala matlab
5+
1) as a single letter string, ala MATLAB
66
77
2) as an html style hex string or html color name
88

examples/pylab_examples/polar_demo.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
#
2929
# you could change the radial bounding box (zoom out) by setting the
3030
# ylim (radial coordinate is the second argument to the plot command,
31-
# as in matlab(TM), though this is not advised currently because it is not
31+
# as in MATLAB, though this is not advised currently because it is not
3232
# clear to me how the axes should behave in the change of view limits.
3333
# Please advise me if you have opinions. Likewise, the pan/zoom
3434
# controls probably do not do what you think they do and are better
@@ -48,7 +48,7 @@
4848
rc('ytick', labelsize=15)
4949

5050
# force square figure and square axes looks better for polar, IMO
51-
width, height = matplotlib.rcParams['figure.figsize']
51+
width, height = matplotlib.rcParams['figure.figsize']
5252
size = min(width, height)
5353
# make a square figure
5454
fig = figure(figsize=(size, size))

examples/pylab_examples/psd_demo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
show()
2121
"""
22-
% compare with matlab(TM)
22+
% compare with MATLAB
2323
dt = 0.01;
2424
t = [0:dt:10];
2525
nse = randn(size(t));

examples/pylab_examples/psd_demo3.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#This is a ported version of a Matlab example from the signal processing
1+
#This is a ported version of a MATLAB example from the signal processing
22
#toolbox that showed some difference at one time between Matplotlib's and
3-
#MatLab's scaling of the PSD.
3+
#MATLAB's scaling of the PSD.
44

55
import numpy as np
66
import matplotlib.pyplot as plt

examples/pylab_examples/psd_demo_complex.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#This is a ported version of a Matlab example from the signal processing
1+
#This is a ported version of a MATLAB example from the signal processing
22
#toolbox that showed some difference at one time between Matplotlib's and
3-
#MatLab's scaling of the PSD. This differs from psd_demo3.py in that
3+
#MATLAB's scaling of the PSD. This differs from psd_demo3.py in that
44
#this uses a complex signal, so we can see that complex PSD's work properly
55
import numpy as np
66
import matplotlib.pyplot as plt

examples/pylab_examples/set_and_get.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""
22
3-
matlab(TM) and pylab allow you to use setp and get to set and get
3+
MATLAB and pylab allow you to use setp and get to set and get
44
object properties, as well as to do introspection on the object
55
66
set

examples/pylab_examples/text_handles.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#Controlling the properties of axis text using handles
33

44
# See examples/text_themes.py for a more elegant, pythonic way to control
5-
# fonts. After all, if we were slaves to matlab(TM) , we wouldn't be
5+
# fonts. After all, if we were slaves to MATLAB , we wouldn't be
66
# using python!
77

88
from pylab import *

0 commit comments

Comments
 (0)