|
From: <ai...@us...> - 2009-11-16 22:34:05
|
Revision: 10605
http://plplot.svn.sourceforge.net/plplot/?rev=10605&view=rev
Author: airwin
Date: 2009-11-16 22:33:58 +0000 (Mon, 16 Nov 2009)
Log Message:
-----------
Add test case to see whether symbols are properly clipped.
Modified Paths:
--------------
trunk/examples/python/CMakeLists.txt
Added Paths:
-----------
trunk/examples/python/test_symbol_clip.py
Modified: trunk/examples/python/CMakeLists.txt
===================================================================
--- trunk/examples/python/CMakeLists.txt 2009-11-16 19:28:11 UTC (rev 10604)
+++ trunk/examples/python/CMakeLists.txt 2009-11-16 22:33:58 UTC (rev 10605)
@@ -78,6 +78,7 @@
plplot_logo.py
test_circle.py
test_axis_precision.py
+ test_symbol_clip.py
testh.py
test_superscript_subscript.py
)
Added: trunk/examples/python/test_symbol_clip.py
===================================================================
--- trunk/examples/python/test_symbol_clip.py (rev 0)
+++ trunk/examples/python/test_symbol_clip.py 2009-11-16 22:33:58 UTC (rev 10605)
@@ -0,0 +1,18 @@
+#!/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()
+plssym(0., 10.)
+plenv(0,1,0,1,0,0)
+plpoin([1.0],[0.5],0)
+plend()
Property changes on: trunk/examples/python/test_symbol_clip.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.
|