@@ -92,3 +92,36 @@ dynamically-generated web pages. Some use Matplotlib interactively
92
92
from the Python shell in Tkinter on Windows. My primary use is to
93
93
embed Matplotlib in a Gtk+ EEG application that runs on Windows, Linux
94
94
and Macintosh OS X.
95
+
96
+ ----
97
+
98
+ Matplotlib's original logo (2003 -- 2008).
99
+
100
+ ..
101
+ The original logo was added in fc8c215.
102
+
103
+ .. plot ::
104
+
105
+ from matplotlib import cbook, pyplot as plt, style
106
+ import numpy as np
107
+
108
+ style.use("classic")
109
+
110
+ datafile = cbook.get_sample_data('membrane.dat', asfileobj=False)
111
+
112
+ # convert data to mV
113
+ x = 1000 * 0.1 * np.fromstring(open(datafile, 'rb').read(), np.float32)
114
+ # 0.0005 is the sample interval
115
+ t = 0.0005 * np.arange(len(x))
116
+ plt.figure(1, figsize=(7, 1), dpi=100)
117
+ ax = plt.subplot(111, facecolor='y')
118
+ plt.plot(t, x)
119
+ plt.text(0.5, 0.5, 'matplotlib', color='r',
120
+ fontsize=40, fontname=['Courier', 'DejaVu Sans Mono'],
121
+ horizontalalignment='center',
122
+ verticalalignment='center',
123
+ transform=ax.transAxes,
124
+ )
125
+ plt.axis([1, 1.72, -60, 10])
126
+ plt.gca().set_xticklabels([])
127
+ plt.gca().set_yticklabels([])
0 commit comments