Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions doc/pyplots/pyplot_formatstr.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import matplotlib.pyplot as plt
plt.plot([1,2,3,4], [1,4,9,16], 'ro')
plt.axis([0, 6, 0, 20])


plt.show()
1 change: 1 addition & 0 deletions doc/pyplots/pyplot_mathtext.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@
fontsize=20)
plt.xlabel('time (s)')
plt.ylabel('volts (mV)')
plt.show()
2 changes: 1 addition & 1 deletion doc/pyplots/pyplot_text.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@
plt.text(60, .025, r'$\mu=100,\ \sigma=15$')
plt.axis([40, 160, 0, 0.03])
plt.grid(True)

plt.show()
2 changes: 1 addition & 1 deletion doc/pyplots/pyplot_three.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@

# red dashes, blue squares and green triangles
plt.plot(t, t, 'r--', t, t**2, 'bs', t, t**3, 'g^')

plt.show()
2 changes: 1 addition & 1 deletion doc/pyplots/pyplot_two_subplots.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ def f(t):

plt.subplot(212)
plt.plot(t2, np.cos(2*np.pi*t2), 'r--')

plt.show()