bugGNU Octave - Bugs: bug #51825, imshow.m: colormap is changed at...

 
 

bug #51825: imshow.m: colormap is changed at axes level, not at figure level

Submitted by:  Pantxo Diribarne <pantxo>
Submitted on:  Wed 23 Aug 2017 01:02:28 PM UTC  
 
Category: PlottingSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Regression
Status: FixedAssigned to: None
Originator Name: Open/Closed: Closed
Release: devOperating System: Any

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 23 Aug 2017 02:26:18 PM UTC, comment #2:

Ok, I just saw this comment in the imshow doc "Note: Starting in R2016b, imshow changes the colormap for the axes that contains the image instead of the figure.". So Octave is compatible with recent versions of ML.

I pushed the fix for demos (http://hg.savannah.gnu.org/hgweb/octave/rev/b208e1a7dd02). Closing report.

Pantxo Diribarne <pantxo>
Project Member
Wed 23 Aug 2017 01:58:37 PM UTC, comment #1:

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

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)

Pantxo Diribarne <pantxo>
Project Member
Wed 23 Aug 2017 01:02:28 PM UTC, original submission:

See "demo imshow 6". This is a regression that is probably related to this cset:

http://hg.savannah.gnu.org/hgweb/octave/rev/7c278572db66

Pantxo Diribarne <pantxo>
Project Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #41620:  imshow.patch added by pantxo (829B - text/x-patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by pantxo (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 23 Aug 2017 02:26:18 PM UTCpantxoStatusPatch Submitted=>Fixed
      Open/ClosedOpen=>Closed
    Wed 23 Aug 2017 01:58:37 PM UTCpantxoAttached File-=>Added imshow.patch, #41620
      StatusNone=>Patch Submitted
      SummaryColormap does not update images color=>imshow.m: colormap is changed at axes level, not at figure level

    Back to the top


    Powered by Savane 3.1-cleanup1