[Pkg-octave-devel] Bug#492223: octave3.0: contourf only accepts vector X and Y if same

Francesco Potorti` Potorti at isti.cnr.it
Fri Jul 25 15:37:14 UTC 2008


package octave3.0
tags 492223 upstream
stop

Dear Octave maintainers,

The bug report reproduced below has been filed against the Debian 
package and regards the upstream sources.  The report is recorded at
http://bugs.debian.org/492223

Thanks,


Package: octave3.0
Version: 1:3.0.1-4
Severity: normal
File: /usr/share/octave/3.0.1/m/plot/contourf.m

Contourf works with X and Y generated by meshgrid.
It also works with vector X and Y of the same size.
It fails if vector X and Y are of different size.

octave> x=1:5;y=x;z=vander(x);contourf(x,y,z,4)
octave> x=1:5;y=x(1:end-1);z=vander(x)(1:end-1,:);
octave> contourf(x,y,z,4)
error: patch: X and Y must be of same size
error: evaluating if command near line 230, column 3
error: called from `contourf:parse_args' in file `/usr/share/octave/3.0.1/m/plot/contourf.m'
error: called from `contourf' in file `/usr/share/octave/3.0.1/m/plot/contourf.m'
octave> [xx,yy]=meshgrid(x,y);contourf(xx,yy,z,4)

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'testing-proposed-updates')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.25-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=it_IT at euro (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)
Shell: /bin/sh linked to /bin/bash

Versions of packages octave3.0 depends on:
ii  libatlas3gf-base [libl 3.6.0-21.5        Automatically Tuned Linear Algebra
ii  libblas3gf [libblas.so 1.2-1.6           Basic Linear Algebra Subroutines 3
ii  libc6                  2.7-10            GNU C Library: Shared libraries
ii  libcurl3-gnutls        7.18.2-5          Multi-protocol file transfer libra
ii  libfftw3-3             3.1.2-3.1         library for computing Fast Fourier
ii  libgcc1                1:4.3.1-2         GCC support library
ii  libgfortran3           4.3.1-2           Runtime library for GNU Fortran ap
ii  libglpk0               4.28-3            linear programming kit with intege
ii  libhdf5-serial-1.6.6-0 1.6.6-4           Hierarchical Data Format 5 (HDF5) 
ii  liblapack3gf [liblapac 3.1.1-0.5         library of linear algebra routines
ii  libncurses5            5.6+20080308-1    Shared libraries for terminal hand
ii  libpcre3               7.4-1+lenny2      Perl 5 Compatible Regular Expressi
ii  libqhull5              2003.1-9          calculate convex hulls and related
ii  libreadline5           5.2-3             GNU readline and history libraries
ii  libstdc++6             4.3.1-2           The GNU Standard C++ Library v3
ii  libsuitesparse-3.1.0   3.1.0-3           collection of libraries for comput
ii  texinfo                4.11.dfsg.1-4     Documentation system for on-line i
ii  zlib1g                 1:1.2.3.3.dfsg-12 compression library - runtime

Versions of packages octave3.0 recommends:
ii  gnuplot                       4.2.2-1.1  A command-line driven interactive 
ii  libatlas3gf-base              3.6.0-21.5 Automatically Tuned Linear Algebra

-- no debconf information








More information about the Pkg-octave-devel mailing list