octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #42311] colorbar incorrect after setting log s


From: Thomas Weber
Subject: [Octave-bug-tracker] [bug #42311] colorbar incorrect after setting log scale
Date: Wed, 07 May 2014 09:18:12 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20140429 Firefox/24.0 Iceweasel/24.5.0

URL:
  <http://savannah.gnu.org/bugs/?42311>

                 Summary: colorbar incorrect after setting log scale
                 Project: GNU Octave
            Submitted by: tweber
            Submitted on: Wed 07 May 2014 09:18:10 AM GMT
                Category: Plotting
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.8.1
        Operating System: GNU/Linux

    _______________________________________________________

Details:

Hi, 
I am running the 3.8.1 version packaged on Debian (I tried the develoment
source, but both default and stable branch didn't build).

Consider the following code:
imagesc(eye(100)+1);
h=colorbar()
set (h, 'YScale', 'log')

After the call to colorbar(), the colorbar() is correct. Resizing it as
logarithmic results in a white colorbary (at least with the fltk backend). 
I am attaching two saved images, the correct one after the call to colorbar
and the incorrect one after the rescaling. Please note that the scaling is
adapted to what seems to be correct, but the colorbar is losing all colors.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Wed 07 May 2014 09:18:10 AM GMT  Name: colorbar-correct.png  Size: 14kB 
 By: tweber

<http://savannah.gnu.org/bugs/download.php?file_id=31327>
-------------------------------------------------------
Date: Wed 07 May 2014 09:18:10 AM GMT  Name: colorbar-incorrect.png  Size:
14kB   By: tweber

<http://savannah.gnu.org/bugs/download.php?file_id=31328>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?42311>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]