From: <ai...@us...> - 2008-10-19 05:22:33
|
Revision: 8927 http://plplot.svn.sourceforge.net/plplot/?rev=8927&view=rev Author: airwin Date: 2008-10-19 05:22:24 +0000 (Sun, 19 Oct 2008) Log Message: ----------- Add logo legend. Modified Paths: -------------- trunk/examples/python/plplot_logo.py Modified: trunk/examples/python/plplot_logo.py =================================================================== --- trunk/examples/python/plplot_logo.py 2008-10-19 04:59:06 UTC (rev 8926) +++ trunk/examples/python/plplot_logo.py 2008-10-19 05:22:24 UTC (rev 8927) @@ -102,6 +102,7 @@ cmap1_init(0) plsurf3d(x, y, z, MAG_COLOR | FACETED, ()) + # Shading to provide a good background for legend. x1 = 0.10 x2 = 0.8 plvpor(0.0, 1.0, 0.0, 1.0) @@ -117,6 +118,17 @@ plcol0(15) x=array([x1, x1, x2, x2]) plfill(x,y) + # Logo Legend + plscol0a(15, 255, 255, 255, 1.0) + plcol0(15) + x1 = 0.03 + plschr(0., 2.5) + plsfont(PL_FCI_SANS, PL_FCI_UPRIGHT, PL_FCI_BOLD) + plptex(x1, 0.57, 1.0, 0.0, 0.0, "PLplot") + plschr(0., 1.3) + plptex(x1, 0.30, 1.0, 0.0, 0.0, + "The ultimate cross-platform plotting library") + main() # Terminate plplot plend() This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |