[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Pkg-octave-devel] Bug#388579: octave2.9-forge: legend(X) fails to change text of keys or position of legend



Package: octave2.9-forge
Version: 2006.07.09+dfsg1-3
Severity: normal



-- System Information:
Debian Release: testing/unstable
 APT prefers unstable
 APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-1-686
Locale: LANG=en_ZA, LC_CTYPE=en_ZA (charmap=ISO-8859-1)

Versions of packages octave2.9-forge depends on:
ii atlas3-base [libla 3.6.0-20.2 Automatically Tuned Linear Algebra ii fftw3 3.0.1-14 library for computing Fast Fourier
ii  libc6              2.3.6.ds1-4           GNU C Library: Shared libraries
ii  libcln4            1.1.11-1              Class Library for Numbers (C++)
ii  libgcc1            1:4.1.1-13            GCC support library
ii libgfortran1 4.1.1-13 Runtime library for GNU Fortran ap ii libginac1.3c2a 1.3.3-6+b1 The GiNaC symbolic framework (runt ii libgmp3c2 4.1.4-11 Multiprecision arithmetic library ii libgraphicsmagick+ 1.1.7-8 format-independent image processin ii libgraphicsmagick1 1.1.7-4 format-independent image processin ii libgsl0 1.7.90-1 GNU Scientific Library (GSL) -- li ii libhdf5-serial-1.6 1.6.5-1 Hierarchical Data Format 5 (HDF5) ii libice6 1:1.0.1-2 X11 Inter-Client Exchange library ii libjpeg62 6b-12 The Independent JPEG Group's JPEG ii libncurses5 5.5-1 Shared libraries for terminal hand ii libnetcdf3 3.6.0+3.6.1-beta3-0.1 An interface for scientific data a ii libpcre3 6.4-1.1 Perl 5 Compatible Regular Expressi
ii  libpng12-0         1.2.8rel-5.1          PNG library - runtime
ii libqhull5 2003.1-1 Calculate convex hulls and related ii libreadline5 5.1-7 GNU readline and history libraries ii libsm6 6.9.0.dfsg.1-5 X Window System Session Management
ii  libstdc++6         4.1.1-13              The GNU Standard C++ Library v3
ii  libx11-6           2:1.0.0-8             X11 client-side library
ii octave2.9 2.9.8-2 GNU Octave language for numerical
ii  zlib1g             1:1.2.3-11            compression library - runtime

octave2.9-forge recommends no packages.

-- no debconf information

The output of a call to legend(CELL) is show below. Similar output is produced in calls to legend(S1,S2,S3) and legend(MATSTR). The call to plot that created the figure to call legend(X) on created three linespoints plots with names "Mean", "Minimum" and "Maximum".

Calling legend('boxon'), in the legend('func') class of calls, produces the expected results.

The original plot was changed to have only one line and no label for the key as well as plotted in normal lines plot style and similar outputs (and exactly the same error) was displayed.

octave2.9:66> legend({'hello' 'goodbye' 'etc'})
pl
'/tmp/oct-wVCkXj'
u
(
$
1
)
:(
$
2
)
t
Mean
w
lines
,
'/tmp/oct-1XExKP'
u
(
$
1
)
:(
$
2
)
t
Minimum
w
lines
,
'/tmp/oct-GSSNxl'
u
(
$
1
)
:(
$
2
)
t
Maximum
w
lines
error: split: both s and t must be strings
error: evaluating if command near line 53, column 5
error: evaluating if command near line 48, column 3
error: called from `split' in file `/usr/share/octave/2.9.8/m/strings/split.m' error: called from `legend' in file `/usr/share/octave/site/api-v21/m/octave2.9-forge/plot/legend.m'

--
Jan Vermeulen
The Extremist
23137216

"God has such a deep reverence for our freedom that he'd much rather have us freely go to Hell, than be compelled to go to Heaven"
                                               ----------Desmond Tutu
                       Beyers Naude Memorial Lecture 2003 (15 August)





Reply to: