From: <and...@us...> - 2009-08-25 10:06:08
|
Revision: 10325 http://plplot.svn.sourceforge.net/plplot/?rev=10325&view=rev Author: andrewross Date: 2009-08-25 10:06:00 +0000 (Tue, 25 Aug 2009) Log Message: ----------- Minor changes for octave 3.2 which has stricter syntax checking. Thanks to Orion Poplawski for the patch. Modified Paths: -------------- trunk/bindings/octave/PLplot/closefig.m trunk/examples/octave/p4.m trunk/examples/octave/p5.m Modified: trunk/bindings/octave/PLplot/closefig.m =================================================================== --- trunk/bindings/octave/PLplot/closefig.m 2009-08-25 09:24:43 UTC (rev 10324) +++ trunk/bindings/octave/PLplot/closefig.m 2009-08-25 10:06:00 UTC (rev 10325) @@ -21,7 +21,7 @@ global __pl - if ( !(exist "__pl") || !struct_contains (__pl,"inited")) + if ( !(exist ("__pl")) || !struct_contains (__pl,"inited")) return; endif Modified: trunk/examples/octave/p4.m =================================================================== --- trunk/examples/octave/p4.m 2009-08-25 09:24:43 UTC (rev 10324) +++ trunk/examples/octave/p4.m 2009-08-25 10:06:00 UTC (rev 10325) @@ -21,7 +21,7 @@ x=0.01:0.1:10; y=exp(x); - og = grid "minor"; + og = grid ("minor"); title("Log-log example"); loglog(x,y,'y') grid (og); Modified: trunk/examples/octave/p5.m =================================================================== --- trunk/examples/octave/p5.m 2009-08-25 09:24:43 UTC (rev 10324) +++ trunk/examples/octave/p5.m 2009-08-25 10:06:00 UTC (rev 10325) @@ -21,7 +21,7 @@ x=-pi:0.01:pi; y=sin(x).+cos(3*x); - og = grid "on"; + og = grid ("on"); title("Polar example"); polar(x,y,'y') grid (og); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |