|
From: <ai...@us...> - 2012-01-21 05:11:28
|
Revision: 12140
http://plplot.svn.sourceforge.net/plplot/?rev=12140&view=rev
Author: airwin
Date: 2012-01-21 05:11:21 +0000 (Sat, 21 Jan 2012)
Log Message:
-----------
Add plstring to the list of ways to render an asterisk.
Modified Paths:
--------------
trunk/examples/python/test_circle.py
Modified: trunk/examples/python/test_circle.py
===================================================================
--- trunk/examples/python/test_circle.py 2012-01-21 01:10:10 UTC (rev 12139)
+++ trunk/examples/python/test_circle.py 2012-01-21 05:11:21 UTC (rev 12140)
@@ -16,6 +16,7 @@
"Plplot Encoded Hershey Indexed Asterisk with plptex",
"Asterisk with plsym",
"Asterisk with plpoin",
+ "Plplot Encoded Hershey Indexed Asterisk with plstring",
]
ifunicode = True
@@ -25,7 +26,7 @@
# Initialize plplot
plinit()
-for kind in range(6):
+for kind in range(7):
pladv(0)
plvpor(0.1, 0.9, 0.1, 0.9)
plwind(0., 1., 0., 1.)
@@ -71,6 +72,10 @@
# Print an asterisk using plpoin
plssym(0., 8.*size)
plpoin(x, y, 3)
+ elif kind ==6:
+ # Print a (PLplot encoded) Hershey indexed asterisk using plstring
+ plschr(0., 8.*size)
+ plstring(x, y, "#(728)")
# Terminate plplot
plend()
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|