|
From: <ai...@us...> - 2008-12-10 01:55:34
|
Revision: 9064
http://plplot.svn.sourceforge.net/plplot/?rev=9064&view=rev
Author: airwin
Date: 2008-12-10 01:35:07 +0000 (Wed, 10 Dec 2008)
Log Message:
-----------
Bring x14 and x17 in line with other examples.
Modified Paths:
--------------
trunk/examples/python/x14
trunk/examples/python/x17
Modified: trunk/examples/python/x14
===================================================================
--- trunk/examples/python/x14 2008-12-10 01:00:14 UTC (rev 9063)
+++ trunk/examples/python/x14 2008-12-10 01:35:07 UTC (rev 9064)
@@ -19,4 +19,22 @@
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+# Run all python plplot examples non-interactively.
+
+# Append to effective python path so that can find plplot modules.
+from plplot_python_start import *
+
+import sys
+from plplot import *
+
+# Parse and process command line arguments
+plparseopts(sys.argv, PL_PARSE_FULL)
+
+# Initialize plplot
+plinit()
+
import xw14
+
+# Terminate plplot
+plend()
+
Modified: trunk/examples/python/x17
===================================================================
--- trunk/examples/python/x17 2008-12-10 01:00:14 UTC (rev 9063)
+++ trunk/examples/python/x17 2008-12-10 01:35:07 UTC (rev 9064)
@@ -19,4 +19,22 @@
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+# Run all python plplot examples non-interactively.
+
+# Append to effective python path so that can find plplot modules.
+from plplot_python_start import *
+
+import sys
+from plplot import *
+
+# Parse and process command line arguments
+plparseopts(sys.argv, PL_PARSE_FULL)
+
+# Initialize plplot
+plinit()
+
import xw17
+
+# Terminate plplot
+plend()
+
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|