[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #29926] imshow shows incorrect colors when use
From: |
Thomas Weber |
Subject: |
[Octave-bug-tracker] [bug #29926] imshow shows incorrect colors when used with colormap |
Date: |
Thu, 20 May 2010 21:04:15 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.0.19) Gecko/2010033022 Iceweasel/3.0.6 (Debian-3.0.6-3) |
URL:
<http://savannah.gnu.org/bugs/?29926>
Summary: imshow shows incorrect colors when used with
colormap
Project: GNU Octave
Submitted by: tweber
Submitted on: Thu 20 May 2010 09:04:15 PM GMT
Category: None
Severity: 3 - Normal
Item Group: Incorrect Result
Status: None
Assigned to: None
Originator Name: Jussi Judin
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: dev
Operating System: GNU/Linux
_______________________________________________________
Details:
This is a bug forwarded from Debian
http://bugs.debian.org/581998
It happens with both 3.2.4 and Mercurial tip as of 10640:5c594472f75e
octave:1> imshow([0 0.33; 0.67 1]);
Shows an image with different shades of gray
octave:2> colormap(hot(10))
Only the upper left corner is black, everything else is white.
octave:3> colorbar
Correctly shows the colorbar, but the image stays wrong.
If changing the calls to colormap and colorbar, it works correctly:
octave:5> imshow([0 0.33; 0.67 1]);
octave:6> colorbar
octave:7> colormap(hot(10))
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?29926>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #29926] imshow shows incorrect colors when used with colormap,
Thomas Weber <=