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

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

[Octave-bug-tracker] [bug #51825] imshow.m: colormap is changed at axes


From: Pantxo Diribarne
Subject: [Octave-bug-tracker] [bug #51825] imshow.m: colormap is changed at axes level, not at figure level
Date: Wed, 23 Aug 2017 09:58:37 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:53.0) Gecko/20100101 Firefox/53.0

Update of bug #51825 (project octave):

                  Status:                    None => Patch Submitted        
                 Summary: Colormap does not update images color => imshow.m:
colormap is changed at axes level, not at figure level

    _______________________________________________________

Follow-up Comment #1:

In ML2016a imshow changes the colormap at figure level, not at axes level like
Octave now does (changed the title accordingly):


subplot (2,1,1)
imshow (rand(100,100))
%% The image is displayed with a gray colormap
subplot (2,1,2)
imshow (rand(100,100)*64, jet (64))
%% Both images are now displayed with a jet colormap


In fact I prefer Octave's behavior, adding an image in an axes should not
change the display of images in other axes. I'd be in favor of keeping this
incompatibility, marking this bug as "Won't fix" and just fixing the demo (see
attached patch).

(file #41620)
    _______________________________________________________

Additional Item Attachment:

File name: imshow.patch                   Size:0 KB


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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