|
From: <ai...@us...> - 2009-11-15 02:42:49
|
Revision: 10590
http://plplot.svn.sourceforge.net/plplot/?rev=10590&view=rev
Author: airwin
Date: 2009-11-15 01:30:26 +0000 (Sun, 15 Nov 2009)
Log Message:
-----------
Add example to test axis precision commands.
Modified Paths:
--------------
trunk/examples/python/CMakeLists.txt
Added Paths:
-----------
trunk/examples/python/test_axis_precision.py
Modified: trunk/examples/python/CMakeLists.txt
===================================================================
--- trunk/examples/python/CMakeLists.txt 2009-11-14 21:17:15 UTC (rev 10589)
+++ trunk/examples/python/CMakeLists.txt 2009-11-15 01:30:26 UTC (rev 10590)
@@ -77,6 +77,7 @@
xw31.py
plplot_logo.py
test_circle.py
+ test_axis_precision.py
testh.py
test_superscript_subscript.py
)
Added: trunk/examples/python/test_axis_precision.py
===================================================================
--- trunk/examples/python/test_axis_precision.py (rev 0)
+++ trunk/examples/python/test_axis_precision.py 2009-11-15 01:30:26 UTC (rev 10590)
@@ -0,0 +1,20 @@
+#!/usr/bin/env python
+
+# Append to effective python path so that can find plplot modules.
+from plplot_python_start import *
+
+import sys
+from plplot import *
+from numpy import *
+
+# Parse and process command line arguments
+plparseopts(sys.argv, PL_PARSE_FULL)
+
+# Initialize plplot
+plinit()
+plsyax(10000, 0)
+pladv(0)
+plvpor(0.1, 0.9, 0.1, 0.9)
+plwind(0.00, 1.00, 0.00, 0.08)
+plbox("bcnst", 0.0, 0, "bcnstv", 0.0, 0);
+plend()
Property changes on: trunk/examples/python/test_axis_precision.py
___________________________________________________________________
Added: svn:executable
+ *
Added: svn:keywords
+ Author Date Id Revision
Added: svn:eol-style
+ native
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|