forked from rougier/matplotlib-tutorial
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmultiplot.py
More file actions
32 lines (27 loc) · 821 Bytes
/
multiplot.py
File metadata and controls
32 lines (27 loc) · 821 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
from pylab import *
plt.subplot(211)
gca().set_xticklabels([])
gca().set_yticklabels([])
#xticks([]), yticks([])
text(-0.05, 1.1, " Multiplot \n\n",
horizontalalignment='left',
verticalalignment='top',
family='Lint McCree Intl BB',
size='x-large',
bbox=dict(facecolor='white', alpha=1.0, width=350,height=60),
transform = gca().transAxes)
text(-0.05, .925, " Plot several plots at once ",
horizontalalignment='left',
verticalalignment='top',
family='Lint McCree Intl BB',
size='medium',
transform = gca().transAxes)
plt.subplot(223)
gca().set_xticklabels([])
gca().set_yticklabels([])
#xticks([]), yticks([])
plt.subplot(224)
gca().set_xticklabels([])
gca().set_yticklabels([])
#xticks([]), yticks([])
plt.savefig('../figures/multiplot.png', dpi=64)