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

Skip to content

Commit 8dd8e7f

Browse files
committed
added some missing files
svn path=/trunk/matplotlib/; revision=320
1 parent c5583f7 commit 8dd8e7f

3 files changed

Lines changed: 32 additions & 0 deletions

File tree

examples/multiline.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
from matplotlib.matlab import *
2+
plot(arange(10))
3+
xlabel('this is a xlabel\n(with newlines!)')
4+
ylabel('this is vertical\ntest', multialignment='center')
5+
#ylabel('this is another!')
6+
text(2, 7,'this is\nyet another test',
7+
rotation=45,
8+
horizontalalignment = 'center',
9+
verticalalignment = 'top',
10+
multialignment = 'center')
11+
#savefig('multiline')
12+
grid(True)
13+
show()

unit/pathologies/const_xy.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
#!/usr/bin/env python
2+
from matplotlib.matlab import *
3+
4+
figure(1)
5+
plot(arange(10), ones( (10,)))
6+
7+
8+
figure(2)
9+
plot(ones( (10,)), arange(10))
10+
11+
figure(3)
12+
plot(ones( (10,)), ones( (10,)), 'o')
13+
show()

unit/pathologies/single_point.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/usr/bin/env python
2+
from matplotlib.matlab import *
3+
4+
figure(1)
5+
plot([0],[0])
6+
show()

0 commit comments

Comments
 (0)