[Pkg-octave-devel] Bug#492223: octave3.0: contourf only accepts vector X and Y if same
Rafael Laboissiere
rafael at debian.org
Fri Sep 5 22:08:14 UTC 2008
package octave3.0
tags 492223 fixed-upstream
stop
* John W. Eaton <jwe at bevo.che.wisc.edu> [2008-07-28 15:20]:
> On 27-Jul-2008, David Bateman wrote:
>
> | Francesco Potorti` wrote:
> | > 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)
> | >
> |
> |
> | Ok, changeset attached
>
> I applied it.
More information about the Pkg-octave-devel
mailing list