From: <and...@us...> - 2012-02-24 23:07:18
|
Revision: 12177 http://plplot.svn.sourceforge.net/plplot/?rev=12177&view=rev Author: andrewross Date: 2012-02-24 23:07:11 +0000 (Fri, 24 Feb 2012) Log Message: ----------- Implement the new trivial example 00 in the remaining languages and include it in the standard tests. This produces clean results on my Ubuntu 64-bit system. Modified Paths: -------------- trunk/examples/ada/CMakeLists.txt trunk/examples/c++/CMakeLists.txt trunk/examples/d/CMakeLists.txt trunk/examples/java/CMakeLists.txt trunk/examples/lua/CMakeLists.txt trunk/examples/ocaml/CMakeLists.txt trunk/examples/octave/CMakeLists.txt trunk/examples/python/CMakeLists.txt trunk/examples/tcl/x00 trunk/plplot_test/test_ada.sh.in trunk/plplot_test/test_cxx.sh.in trunk/plplot_test/test_d.sh.in trunk/plplot_test/test_java.sh.in trunk/plplot_test/test_lua.sh.in trunk/plplot_test/test_ocaml.sh.in trunk/plplot_test/test_octave.sh.in trunk/plplot_test/test_python.sh.in Added Paths: ----------- trunk/examples/c++/x00.cc trunk/examples/d/x00d.d trunk/examples/java/x00.java trunk/examples/ocaml/x00.ml trunk/examples/octave/x00c.m trunk/examples/python/x00 trunk/examples/python/xw00.py Modified: trunk/examples/ada/CMakeLists.txt =================================================================== --- trunk/examples/ada/CMakeLists.txt 2012-02-24 20:33:39 UTC (rev 12176) +++ trunk/examples/ada/CMakeLists.txt 2012-02-24 23:07:11 UTC (rev 12177) @@ -25,6 +25,7 @@ # BUILD_TEST ON and CORE_BUILD OFF. set(ada_STRING_INDICES + "00" "01" "02" "03" @@ -57,6 +58,7 @@ "30" "31" "33" + "thick00" "thick01" "thick02" "thick03" Modified: trunk/examples/c++/CMakeLists.txt =================================================================== --- trunk/examples/c++/CMakeLists.txt 2012-02-24 20:33:39 UTC (rev 12176) +++ trunk/examples/c++/CMakeLists.txt 2012-02-24 23:07:11 UTC (rev 12177) @@ -27,6 +27,7 @@ set(cxx_STRING_INDICES "01cc" + "00" "01" "02" "03" Added: trunk/examples/c++/x00.cc =================================================================== --- trunk/examples/c++/x00.cc (rev 0) +++ trunk/examples/c++/x00.cc 2012-02-24 23:07:11 UTC (rev 12177) @@ -0,0 +1,88 @@ +// $Id:$ +// +// Simple demo of a 2D line plot. +// +// Copyright (C) 2011 Alan W. Irwin +// Copyright (C) 2012 Andrew Ross +// +// This file is part of PLplot. +// +// PLplot is free software; you can redistribute it and/or modify +// it under the terms of the GNU Library General Public License as published +// by the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// PLplot is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public License +// along with PLplot; if not, write to the Free Software +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +// +// + +#include "plc++demos.h" + +#ifdef PL_USE_NAMESPACE +using namespace std; +#endif + +class x00 { +public: + x00( int, const char **); + +private: + // Class data + plstream *pls; + + static const int NSIZE; +}; + +const int x00::NSIZE = 101; + +x00::x00( int argc, const char **argv ) +{ + PLFLT x[NSIZE], y[NSIZE]; + PLFLT xmin = 0., xmax = 1., ymin = 0., ymax = 100.; + int i; + + // Prepare data to be plotted. + for ( i = 0; i < NSIZE; i++ ) + { + x[i] = (PLFLT) ( i ) / (PLFLT) ( NSIZE - 1 ); + y[i] = ymax * x[i] * x[i]; + } + + pls = new plstream(); + + // Parse and process command line arguments + pls->parseopts( &argc, argv, PL_PARSE_FULL ); + + // Initialize plplot + pls->init(); + + // Create a labelled box to hold the plot. + pls->env( xmin, xmax, ymin, ymax, 0, 0 ); + pls->lab( "x", "y=100 x#u2#d", "Simple PLplot demo of a 2D line plot" ); + + // Plot the data that was prepared above. + pls->line( NSIZE, x, y ); + + + // In C++ we don't call plend() to close PLplot library + // this is handled by the destructor + delete pls; +} + +int main( int argc, const char ** argv ) +{ + x00 *x = new x00( argc, argv ); + delete x; +} + + +//-------------------------------------------------------------------------- +// End of x00.cc +//-------------------------------------------------------------------------- Modified: trunk/examples/d/CMakeLists.txt =================================================================== --- trunk/examples/d/CMakeLists.txt 2012-02-24 20:33:39 UTC (rev 12176) +++ trunk/examples/d/CMakeLists.txt 2012-02-24 23:07:11 UTC (rev 12177) @@ -26,6 +26,7 @@ # BUILD_TEST ON and CORE_BUILD OFF. set(d_STRING_INDICES + "00" "01" "02" "03" Added: trunk/examples/d/x00d.d =================================================================== --- trunk/examples/d/x00d.d (rev 0) +++ trunk/examples/d/x00d.d 2012-02-24 23:07:11 UTC (rev 12177) @@ -0,0 +1,61 @@ +// $Id:$ +// +// Simple demo of a 2D line plot. +// +// Copyright (C) 2011 Alan W. Irwin +// Copyright (C) 2012 Andrew Ross +// +// This file is part of PLplot. +// +// PLplot is free software; you can redistribute it and/or modify +// it under the terms of the GNU Library General Public License as published +// by the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// PLplot is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public License +// along with PLplot; if not, write to the Free Software +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +// +// + +import plplot; + +int main( char[][] args ) +{ + const int nsize = 101; + + PLFLT[nsize] x; + PLFLT[nsize] y; + PLFLT xmin = 0., xmax = 1., ymin = 0., ymax = 100.; + int i; + + // Prepare data to be plotted. + for ( i = 0; i < nsize; i++ ) + { + x[i] = cast(PLFLT) ( i ) / cast(PLFLT) ( nsize - 1 ); + y[i] = ymax * x[i] * x[i]; + } + + // Parse and process command line arguments + plparseopts( args, PL_PARSE_FULL ); + + // Initialize plplot + plinit(); + + // Create a labelled box to hold the plot. + plenv( xmin, xmax, ymin, ymax, 0, 0 ); + pllab( "x", "y=100 x#u2#d", "Simple PLplot demo of a 2D line plot" ); + + // Plot the data that was prepared above. + plline( x, y ); + + // Close PLplot library + plend(); + + return 0; +} Modified: trunk/examples/java/CMakeLists.txt =================================================================== --- trunk/examples/java/CMakeLists.txt 2012-02-24 20:33:39 UTC (rev 12176) +++ trunk/examples/java/CMakeLists.txt 2012-02-24 23:07:11 UTC (rev 12177) @@ -25,6 +25,7 @@ # BUILD_TEST ON and CORE_BUILD OFF. set(java_STRING_INDICES + "00" "01" "02" "03" Added: trunk/examples/java/x00.java =================================================================== --- trunk/examples/java/x00.java (rev 0) +++ trunk/examples/java/x00.java 2012-02-24 23:07:11 UTC (rev 12177) @@ -0,0 +1,75 @@ +// $Id:$ +// +// Simple demo of a 2D line plot. +// +// Copyright (C) 2011 Alan W. Irwin +// Copyright (C) 2012 Andrew Ross +// +// This file is part of PLplot. +// +// PLplot is free software; you can redistribute it and/or modify +// it under the terms of the GNU Library General Public License as published +// by the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// PLplot is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public License +// along with PLplot; if not, write to the Free Software +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +// +// + +package plplot.examples; + +import plplot.core.*; + +class x00 { + + PLStream pls = new PLStream(); + + static int NSIZE = 101; + + public static void main( String[] args ) + { + new x00( args ); + } + + public x00( String[] args ) + { + double x[] = new double[NSIZE]; + double y[] = new double[NSIZE]; + double xmin = 0., xmax = 1., ymin = 0., ymax = 100.; + int i; + + // Prepare data to be plotted. + for ( i = 0; i < NSIZE; i++ ) + { + x[i] = (double)( i ) / (double) ( NSIZE - 1 ); + y[i] = ymax * x[i] * x[i]; + } + + // Parse and process command line arguments + pls.parseopts( args, PLStream.PL_PARSE_FULL | PLStream.PL_PARSE_NOPROGRAM ); + // Initialize plplot + pls.init(); + + // Create a labelled box to hold the plot. + pls.env( xmin, xmax, ymin, ymax, 0, 0 ); + pls.lab( "x", "y=100 x#u2#d", "Simple PLplot demo of a 2D line plot" ); + + // Plot the data that was prepared above. + pls.line( x, y ); + + // Close PLplot library + pls.end(); + } +} + + +//-------------------------------------------------------------------------- +// End of x00.java +//-------------------------------------------------------------------------- Modified: trunk/examples/lua/CMakeLists.txt =================================================================== --- trunk/examples/lua/CMakeLists.txt 2012-02-24 20:33:39 UTC (rev 12176) +++ trunk/examples/lua/CMakeLists.txt 2012-02-24 23:07:11 UTC (rev 12177) @@ -25,6 +25,7 @@ # BUILD_TEST ON and CORE_BUILD OFF. set(lua_STRING_INDICES + "00" "01" "02" "03" Modified: trunk/examples/ocaml/CMakeLists.txt =================================================================== --- trunk/examples/ocaml/CMakeLists.txt 2012-02-24 20:33:39 UTC (rev 12176) +++ trunk/examples/ocaml/CMakeLists.txt 2012-02-24 23:07:11 UTC (rev 12177) @@ -29,6 +29,7 @@ # BUILD_TEST ON and CORE_BUILD OFF. set(ocaml_STRING_INDICES + "00" "01" "02" "03" Added: trunk/examples/ocaml/x00.ml =================================================================== --- trunk/examples/ocaml/x00.ml (rev 0) +++ trunk/examples/ocaml/x00.ml 2012-02-24 23:07:11 UTC (rev 12177) @@ -0,0 +1,55 @@ +(* $Id:$ + + Simple demo of a 2D line plot. + + Copyright (C) 2011 Alan W. Irwin + + This file is part of PLplot. + + PLplot is free software; you can redistribute it and/or modify + it under the terms of the GNU Library General Public License as published + by the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + PLplot is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Library General Public License for more details. + + You should have received a copy of the GNU Library General Public License + along with PLplot; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + +*) + +open Plplot + +let nsize = 101 + +let () = + let xmin = 0.0; + let xmax = 1.0; + let ymin = 0.0; + let ymax = 100.0; + + (* Prepare data to be plotted. *) + let x = Array.init nsize (fun i -> float_of_int i /. ( float_of_int nsize -. 1.0)) in + let y = Array.init nsize (fun i -> ymax *. x.(i) *. x.(i) ) in + + (* Parse and process command line arguments *) + plparseopts Sys.argv [PL_PARSE_FULL]; + + (* Initialize plplot *) + plinit (); + + (* Create a labelled box to hold the plot. *) + plenv xmin xmax ymin ymax 0 0 ; + pllab "x" "y=100 x#u2#d" "Simple PLplot demo of a 2D line plot" ; + + (* Plot the data that was prepared above. *) + plline x y; + + (* Close PLplot library *) + plend (); + () + Modified: trunk/examples/octave/CMakeLists.txt =================================================================== --- trunk/examples/octave/CMakeLists.txt 2012-02-24 20:33:39 UTC (rev 12176) +++ trunk/examples/octave/CMakeLists.txt 2012-02-24 23:07:11 UTC (rev 12177) @@ -47,6 +47,7 @@ p19.m p20.m p21.m + x00c.m x01c.m x02c.m x03c.m Added: trunk/examples/octave/x00c.m =================================================================== --- trunk/examples/octave/x00c.m (rev 0) +++ trunk/examples/octave/x00c.m 2012-02-24 23:07:11 UTC (rev 12177) @@ -0,0 +1,52 @@ +## $Id: x00c.c 12001 2011-10-27 05:26:31Z airwin $ +## +## Simple demo of a 2D line plot. +## +## Copyright (C) 2011 Alan W. Irwin +## Copyright (C) 2012 Andrew Ross +## +## This file is part of PLplot. +## +## PLplot is free software; you can redistribute it and/or modify +## it under the terms of the GNU Library General Public License as published +## by the Free Software Foundation; either version 2 of the License, or +## (at your option) any later version. +## +## PLplot is distributed in the hope that it will be useful, +## but WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +## GNU Library General Public License for more details. +## +## You should have received a copy of the GNU Library General Public License +## along with PLplot; if not, write to the Free Software +## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +## +## + +function x00c + + NSIZE = 101; + + xmin = 0.; xmax = 1.; ymin = 0.; ymax = 100.; + + ## Prepare data to be plotted. + x = (0:NSIZE-1) / (NSIZE-1); + y = ymax*x.*x; + + ## Parse and process command line arguments + ## plparseopts( &argc, argv, PL_PARSE_FULL ); + + ## Initialize plplot + plinit(); + + ## Create a labelled box to hold the plot. + plenv( xmin, xmax, ymin, ymax, 0, 0 ); + pllab( "x", "y=100 x#u2#d", "Simple PLplot demo of a 2D line plot" ); + + ## Plot the data that was prepared above. + plline( x', y' ); + + ## Close PLplot library + plend1(); + +endfunction Modified: trunk/examples/python/CMakeLists.txt =================================================================== --- trunk/examples/python/CMakeLists.txt 2012-02-24 20:33:39 UTC (rev 12176) +++ trunk/examples/python/CMakeLists.txt 2012-02-24 23:07:11 UTC (rev 12177) @@ -27,6 +27,7 @@ # N.B. examples 14, 17, and 31 handled independently while 32 has # not yet been implemented. set(python_STRING_INDICES + "00" "01" "02" "03" @@ -313,4 +314,4 @@ add_dependencies(plplot_logo _plplotcmodule) endif(CORE_BUILD) -endif(BUILD_TEST) \ No newline at end of file +endif(BUILD_TEST) Added: trunk/examples/python/x00 =================================================================== --- trunk/examples/python/x00 (rev 0) +++ trunk/examples/python/x00 2012-02-24 23:07:11 UTC (rev 12177) @@ -0,0 +1,40 @@ +#!/usr/bin/env python + +# Copyright (C) 2004 Alan W. Irwin +# Copyright (C) 2004 Andrew Ross +# +# This file is part of PLplot. +# +# PLplot is free software; you can redistribute it and/or modify +# it under the terms of the GNU Library General Public License as published +# by the Free Software Foundation; version 2 of the License. +# +# PLplot is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Library General Public License for more details. +# +# You should have received a copy of the GNU Library General Public License +# along with the file PLplot; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + + +# Run all python plplot examples non-interactively. + +# Append to effective python path so that can find plplot modules. +from plplot_python_start import * + +import sys +from plplot import * + +# Parse and process command line arguments +plparseopts(sys.argv, PL_PARSE_FULL) + +# Initialize plplot +plinit() + +import xw00 + +# Terminate plplot +plend() + Property changes on: trunk/examples/python/x00 ___________________________________________________________________ Added: svn:executable + * Added: trunk/examples/python/xw00.py =================================================================== --- trunk/examples/python/xw00.py (rev 0) +++ trunk/examples/python/xw00.py 2012-02-24 23:07:11 UTC (rev 12177) @@ -0,0 +1,47 @@ +# $Id:$ +# +# Simple demo of a 2D line plot. +# +# Copyright (C) 2011 Alan W. Irwin +# Copyright (C) 2012 Andrew Ross +# +# This file is part of PLplot. +# +# PLplot is free software; you can redistribute it and/or modify +# it under the terms of the GNU Library General Public License as published +# by the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# PLplot is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Library General Public License for more details. +# +# You should have received a copy of the GNU Library General Public License +# along with PLplot; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# +# + +from plplot_py_demos import * + +NSIZE = 101 + +def main(): + xmin = 0. + xmax = 1. + ymin = 0. + ymax = 100. + + # Prepare data to be plotted. + x = arange(NSIZE) / float( NSIZE - 1 ) + y = ymax*x**2 + + # Create a labelled box to hold the plot. + plenv( xmin, xmax, ymin, ymax, 0, 0 ) + pllab( "x", "y=100 x#u2#d", "Simple PLplot demo of a 2D line plot" ) + + # Plot the data that was prepared above. + plline( x, y ) + +main() Modified: trunk/examples/tcl/x00 =================================================================== --- trunk/examples/tcl/x00 2012-02-24 20:33:39 UTC (rev 12176) +++ trunk/examples/tcl/x00 2012-02-24 23:07:11 UTC (rev 12177) @@ -14,9 +14,6 @@ source x00.tcl -plgver ver -puts [format "PLplot library version: %s" $ver ] - plinit x00 plend Modified: trunk/plplot_test/test_ada.sh.in =================================================================== --- trunk/plplot_test/test_ada.sh.in 2012-02-24 20:33:39 UTC (rev 12176) +++ trunk/plplot_test/test_ada.sh.in 2012-02-24 23:07:11 UTC (rev 12177) @@ -30,10 +30,10 @@ # Skip 17 because it is interactive. lang="a" for index in \ - 01 02 03 04 05 06 07 08 09 \ + 00 01 02 03 04 05 06 07 08 09 \ 10 11 12 13 14 15 16 17 18 19 20 \ 21 22 23 24 25 26 27 28 29 30 31 33 \ - thick01 thick02 thick03 thick04 thick05 thick06 thick07 thick08 thick09 \ + thick00 thick01 thick02 thick03 thick04 thick05 thick06 thick07 thick08 thick09 \ thick10 thick11 thick12 thick13 thick14 thick15 thick16 thick17 thick18 thick19 thick20 \ thick21 thick22 thick23 thick24 thick25 thick26 thick27 thick28 thick29 thick30 thick31 thick33; do if [ "$verbose_test" ] ; then Modified: trunk/plplot_test/test_cxx.sh.in =================================================================== --- trunk/plplot_test/test_cxx.sh.in 2012-02-24 20:33:39 UTC (rev 12176) +++ trunk/plplot_test/test_cxx.sh.in 2012-02-24 23:07:11 UTC (rev 12177) @@ -31,7 +31,7 @@ export index lang # Do the standard non-interactive examples. -for index in 01 02 03 04 05 06 07 08 09 10 11 12 13 15 16 18 19 20 \ +for index in 00 01 02 03 04 05 06 07 08 09 10 11 12 13 15 16 18 19 20 \ 21 22 23 24 25 26 27 28 30 31 33 ${critical_examples}; do if [ "$verbose_test" ] ; then echo "x${index}" Modified: trunk/plplot_test/test_d.sh.in =================================================================== --- trunk/plplot_test/test_d.sh.in 2012-02-24 20:33:39 UTC (rev 12176) +++ trunk/plplot_test/test_d.sh.in 2012-02-24 23:07:11 UTC (rev 12177) @@ -31,7 +31,7 @@ # 20-22, 28, and 31 not implemented yet. # example 14 excluded until plgdev fixed since the bad driver information # causes run-time errors. -for index in 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 33; do +for index in 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 33; do if [ "$verbose_test" ] ; then echo "x${index}${lang}" fi Modified: trunk/plplot_test/test_java.sh.in =================================================================== --- trunk/plplot_test/test_java.sh.in 2012-02-24 20:33:39 UTC (rev 12176) +++ trunk/plplot_test/test_java.sh.in 2012-02-24 23:07:11 UTC (rev 12177) @@ -44,7 +44,7 @@ PLPLOT_CLASSPATH="${javadir}":"${PLPLOT_CLASSPATH}" fi -for index in 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 33 ; do +for index in 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 33 ; do if [ "$verbose_test" ] ; then echo "x${index}" fi Modified: trunk/plplot_test/test_lua.sh.in =================================================================== --- trunk/plplot_test/test_lua.sh.in 2012-02-24 20:33:39 UTC (rev 12176) +++ trunk/plplot_test/test_lua.sh.in 2012-02-24 23:07:11 UTC (rev 12177) @@ -32,7 +32,7 @@ results="$(pwd |sed 's?^/\(.\)/?\1:/?')" export results cd "$luadir" -for index in 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 33; do +for index in 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 33; do if [ "$verbose_test" ] ; then echo "x${index}" fi Modified: trunk/plplot_test/test_ocaml.sh.in =================================================================== --- trunk/plplot_test/test_ocaml.sh.in 2012-02-24 20:33:39 UTC (rev 12176) +++ trunk/plplot_test/test_ocaml.sh.in 2012-02-24 23:07:11 UTC (rev 12177) @@ -24,7 +24,7 @@ # Do the standard non-interactive examples. lang="ocaml" -for index in 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 33; do +for index in 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 33; do if [ "$verbose_test" ] ; then echo "x${index}ocaml" fi Modified: trunk/plplot_test/test_octave.sh.in =================================================================== --- trunk/plplot_test/test_octave.sh.in 2012-02-24 20:33:39 UTC (rev 12176) +++ trunk/plplot_test/test_octave.sh.in 2012-02-24 23:07:11 UTC (rev 12177) @@ -73,10 +73,10 @@ # Example 32 not implemented because there has been no call for propagation # and it exercises no new API. failed = [] ; -@swig_octave_comment@for i=[1:18 19 20:31 33] ; +@swig_octave_comment@for i=[0:18 19 20:31 33] ; # Drop 4, 18, 26, and 33 because deprecated matwrap does not include plstring, # plstring3, pllegend, or plcolorbar. -@matwrap_octave_comment@for i=[1:3 5:17 20:25 27:31 ] ; +@matwrap_octave_comment@for i=[0:3 5:17 20:25 27:31 ] ; ofile = sprintf("${OUTPUT_DIR}/x%.2d${lang}_${dsuffix}.txt",i); strm = fopen(ofile,"w"); cmd = sprintf("x%.2dc",i); Modified: trunk/plplot_test/test_python.sh.in =================================================================== --- trunk/plplot_test/test_python.sh.in 2012-02-24 20:33:39 UTC (rev 12176) +++ trunk/plplot_test/test_python.sh.in 2012-02-24 23:07:11 UTC (rev 12177) @@ -29,7 +29,7 @@ # Skip 21 if using Numeric - it doesn't work # For 24 you need special fonts installed to get good result. lang="p" -for index in 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 \ +for index in 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 \ 20 22 23 24 25 26 27 28 29 30 31 33 @NUMPY_EXAMPLES@ ; do if [ "$verbose_test" ] ; then echo "x${index}" This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |