File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22# Copyright (C) 2003 <[email protected] >33# $Header$
44# $Log$
5+ # Revision 1.8 2003/10/23 15:42:43 jdh2358
6+ # fixed figure text clip bug
7+ #
58# Revision 1.7 2003/10/18 17:54:26 jdh2358
69# fixed interactive2 and several small bugs
710#
@@ -53,7 +56,7 @@ htmldocs:
5356 cd htdocs; \
5457 ${PYTHON} process_docs.py; \
5558 ${PYTHON} convert.py; \
56- tar cvfz site.tar.gz * .html screenshots tut examples
59+ tar cfz site.tar.gz * .html screenshots tut examples
5760
5861release : ${DISTFILES}
5962 rm -rf ${RELEASE} ; \
Original file line number Diff line number Diff line change 1+ import matplotlib
2+ matplotlib .use ('PS' )
13from matplotlib .matlab import *
24
35def f (t ):
@@ -9,7 +11,7 @@ def f(t):
911t2 = arange (0.0 , 5.0 , 0.02 )
1012t3 = arange (0.0 , 2.0 , 0.01 )
1113
12- figure (1 , size = ( 800 , 600 ) )
14+ figure (1 )
1315subplot (211 )
1416l = plot (t1 , f (t1 ), 'k^' )
1517set (l , 'markerfacecolor' , 'k' )
@@ -24,6 +26,6 @@ def f(t):
2426
2527ylabel ('Signal 2' , fontsize = 12 )
2628xlabel ('time (s)' , fontsize = 12 )
27-
29+ savefig ( 'pstest' )
2830show ()
2931
Original file line number Diff line number Diff line change 11from matplotlib .matlab import *
22
3- font = {'fontname' : 'Courier ' ,
3+ font = {'fontname' : 'courier ' ,
44 'color' : 'r' ,
55 'fontweight' : 'normal' ,
66 'fontsize' : 12 }
@@ -19,5 +19,5 @@ def f(t):
1919xlabel ('time (s)' , font )
2020ylabel ('voltage (mV)' , font )
2121
22- # savefig('text_themes', dpi=150)
22+ savefig ('text_themes' , dpi = 150 )
2323show ()
You can’t perform that action at this time.
0 commit comments