[Pkg-octave-devel] Bug#581998: octave3.2: setting colormap makes imshow colors incorrect

Jussi Judin jjudin+debian at iki.fi
Mon May 17 13:51:43 UTC 2010


Package: octave3.2
Version: 3.2.4-4
Severity: normal

Setting colormap gives different results when using it for the first and
second time for imshow. How to replicate:

imshow([0 0.33; 0.67 1]) % Gives correct image
colormap(hot(10)) % Gives black upper left corner and other pixels as white
imshow([0 0.33; 0.67 1]) % White is now gray and grays are darker
colormap(hot(10)) % Gives correct colormap for incorrect image above. Light
% yellow should be white (maximum value) as shown on colorbar
colorbar

Sometimes this works correctly but usually it gives these too dark colors.

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (100, 'unstable'), (99, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.33-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages octave3.2 depends on:
ii  libamd2.2.0         1:3.4.0-2            approximate minimum degree orderin
ii  libarpack2          2.1+parpack96.dfsg-3 Fortran77 subroutines to solve lar
ii  libatlas3gf-base [l 3.6.0-24             Automatically Tuned Linear Algebra
ii  libblas3gf [libblas 1.2-7                Basic Linear Algebra Reference imp
ii  libbz2-1.0          1.0.5-4              high-quality block-sorting file co
ii  libc6               2.10.2-6             Embedded GNU C Library: Shared lib
ii  libcamd2.2.0        1:3.4.0-2            symmetric approximate minimum degr
ii  libccolamd2.7.1     1:3.4.0-2            constrained column approximate lib
ii  libcholmod1.7.1     1:3.4.0-2            sparse Cholesky factorization libr
ii  libcolamd2.7.1      1:3.4.0-2            column approximate minimum degree 
ii  libcurl3-gnutls     7.20.1-2             Multi-protocol file transfer libra
ii  libcxsparse2.2.3    1:3.4.0-2            concise sparse matrix library (com
ii  libfftw3-3          3.2.2-1              library for computing Fast Fourier
ii  libfltk1.1          1.1.10-2             Fast Light Toolkit - shared librar
ii  libfreetype6        2.3.11-1             FreeType 2 font engine, shared lib
ii  libftgl2            2.1.3~rc5-3          library to render text in OpenGL u
ii  libgcc1             1:4.4.4-1            GCC support library
ii  libgfortran3        4.4.4-1              Runtime library for GNU Fortran ap
ii  libgl1-mesa-glx [li 7.7.1-1              A free implementation of the OpenG
ii  libglpk0            4.43-1               linear programming kit with intege
ii  libglu1-mesa [libgl 7.7.1-1              The OpenGL utility library (GLU)
ii  libgomp1            4.4.4-1              GCC OpenMP (GOMP) support library
ii  libgraphicsmagick++ 1.3.5-6              format-independent image processin
ii  libgraphicsmagick3  1.3.5-6              format-independent image processin
ii  libhdf5-serial-1.8. 1.8.4-patch1-2       Hierarchical Data Format 5 (HDF5) 
ii  libice6             2:1.0.6-1            X11 Inter-Client Exchange library
ii  libjasper1          1.900.1-7            The JasPer JPEG-2000 runtime libra
ii  libjpeg62           6b-16.1              The Independent JPEG Group's JPEG 
ii  liblapack3gf [libla 3.2.1-8              library of linear algebra routines
ii  liblcms1            1.18.dfsg-1.2+b1     Color management library
ii  libltdl7            2.2.6b-2             A system independent dlopen wrappe
ii  libncurses5         5.7+20100313-2       shared libraries for terminal hand
ii  libpcre3            7.8-3                Perl 5 Compatible Regular Expressi
ii  libpng12-0          1.2.43-1             PNG library - runtime
ii  libqhull5           2009.1-1             calculate convex hulls and related
ii  libqrupdate1        1.0.1-1              Fast updates of QR and Cholesky de
ii  libreadline6        6.1-1                GNU readline and history libraries
ii  libsm6              2:1.1.1-1            X11 Session Management library
ii  libstdc++6          4.4.4-1              The GNU Standard C++ Library v3
ii  libtiff4            3.9.2-3+b1           Tag Image File Format (TIFF) libra
ii  libumfpack5.4.0     1:3.4.0-2            sparse LU factorization library
ii  libwmf0.2-7         0.2.8.4-6.1          Windows metafile conversion librar
ii  libx11-6            2:1.3.3-3            X11 client-side library
ii  libxext6            2:1.1.1-3            X11 miscellaneous extension librar
ii  libxml2             2.7.7.dfsg-2         GNOME XML library
ii  octave3.2-common    3.2.4-4              architecture-independent files for
ii  texinfo             4.13a.dfsg.1-5       Documentation system for on-line i
ii  zlib1g              1:1.2.3.4.dfsg-3     compression library - runtime

Versions of packages octave3.2 recommends:
ii  gnuplot                       4.4.0-1    A command-line driven interactive 
ii  libatlas3gf-base              3.6.0-24   Automatically Tuned Linear Algebra

Versions of packages octave3.2 suggests:
pn  octave3.2-doc                 <none>     (no description available)
pn  octave3.2-emacsen             <none>     (no description available)
pn  octave3.2-headers             <none>     (no description available)
pn  octave3.2-htmldoc             <none>     (no description available)
pn  octave3.2-info                <none>     (no description available)

-- no debconf information





More information about the Pkg-octave-devel mailing list