On 08/20/2009 03:37 PM, Orion Poplawski wrote:
I'm trying to get plplot 5.9.4 to build under Fedora Development with octave 3.2.2 and running into some trouble. First issues appear to be some stricter syntax checking fixed by the attached patch.I'm now facing some segmentation fault issues running the octave examples, but it is hindered by what may be more general issues with octave 3.2.2 in Fedora Development. Will report back with more info when I have it.
Things are running fine now with the following updated patch. This adds a fix to example x03c.m, which seems to still work with octave 3.0.
-- Orion Poplawski Technical Manager 303-415-9701 x222 NWRA/CoRA Division FAX: 303-415-9702 3380 Mitchell Lane or...@cora.nwra.com Boulder, CO 80301 http://www.cora.nwra.com
--- plplot-5.9.4/bindings/octave/PLplot/closefig.m.octave32 2009-08-13 21:30:05.511036727 -0600 +++ plplot-5.9.4/bindings/octave/PLplot/closefig.m 2009-08-13 21:30:52.206974684 -0600 @@ -21,7 +21,7 @@ global __pl - if ( !(exist "__pl") || !struct_contains (__pl,"inited")) + if ( !(exist ("__pl")) || !struct_contains (__pl,"inited")) return; endif --- plplot-5.9.4/bindings/octave/demos/p4.m.octave32 2009-05-10 13:37:17.000000000 -0600 +++ plplot-5.9.4/bindings/octave/demos/p4.m 2009-08-13 22:50:58.068005128 -0600 @@ -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); --- plplot-5.9.4/bindings/octave/demos/p5.m.octave32 2009-05-10 13:37:17.000000000 -0600 +++ plplot-5.9.4/bindings/octave/demos/p5.m 2009-08-13 22:51:21.277975680 -0600 @@ -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); --- plplot-5.9.4/bindings/octave/demos/x03c.m.octave32 2009-05-10 13:37:17.000000000 -0600 +++ plplot-5.9.4/bindings/octave/demos/x03c.m 2009-08-26 11:50:28.362630969 -0600 @@ -47,11 +47,11 @@ plenv(-1.3, 1.3, -1.3, 1.3, 1, -2); for i=1:10 - x(:) = 0.1 * i * x0(:); - y(:) = 0.1 * i * y0(:); + x = 0.1 * i * x0(:); + y = 0.1 * i * y0(:); ## Draw circles for polar grid */ - plline(x', y'); + plline(x, y); endfor plcol0(2);
------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel