From: <ai...@us...> - 2011-03-06 05:58:04
|
Revision: 11607 http://plplot.svn.sourceforge.net/plplot/?rev=11607&view=rev Author: airwin Date: 2011-03-06 05:57:57 +0000 (Sun, 06 Mar 2011) Log Message: ----------- Finish plstring3 binding for Lua, and use that binding in example 18 to produce results that are consistent with those from its C counterpart. Modified Paths: -------------- trunk/bindings/lua/plplotluac.i trunk/examples/lua/x18.lua Modified: trunk/bindings/lua/plplotluac.i =================================================================== --- trunk/bindings/lua/plplotluac.i 2011-03-06 05:33:33 UTC (rev 11606) +++ trunk/bindings/lua/plplotluac.i 2011-03-06 05:57:57 UTC (rev 11607) @@ -1152,6 +1152,7 @@ %rename(star) plstar; %rename(start) plstart; %rename(string) plstring; +%rename(string3) plstring3; %rename(stripa) plstripa; %rename(stripc) plstripc; %rename(stripd) plstripd; Modified: trunk/examples/lua/x18.lua =================================================================== --- trunk/examples/lua/x18.lua 2011-03-06 05:33:33 UTC (rev 11606) +++ trunk/examples/lua/x18.lua 2011-03-06 05:57:57 UTC (rev 11607) @@ -132,11 +132,12 @@ pl.col0(2) - if opt[k]~=0 then - pl.line3( x, y, z ) + if opt[k]~=0 then + pl.line3( x, y, z ) else - pl.poin3( x, y, z, 1 ) - end + -- U+22C5 DOT OPERATOR. + pl.string3( x, y, z, "⋅" ) + end pl.col0(3) pl.mtex("t", 1.0, 0.5, 0.5, "#frPLplot Example 18 - Alt=" .. alt[k] .. ", Az=" .. az[k]) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |