bugGNU Octave - Bugs: bug #52799, listener on axes...


bug #52799: listener on axes "colormap" property does not work

Submitted by:  Rik <rik5>
Submitted on:  Wed 03 Jan 2018 07:32:52 PM UTC  
Category: PlottingSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
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.


Thu 04 Jan 2018 01:49:04 AM UTC, comment #2:

@Pantxo: Thanks for the really quick fix. I pushed it here (http://hg.savannah.gnu.org/hgweb/octave/rev/2f10c3265607). That allowed me to fix one of the remaining issues with colorbar.

Marking as fixed and closing report.

Rik <rik5>
Project Administrator
Wed 03 Jan 2018 11:47:52 PM UTC, comment #1:

The attached simple cset fixes the issue for me.

(file #42816)

Pantxo Diribarne <pantxo>
Project Member
Wed 03 Jan 2018 07:32:52 PM UTC, original submission:

While re-writing colorbar.m I came across the fact that listeners on the axes property "colormap" are not executed. This is probably because "colormap" for axes is a complicated property implemented by a function rather than just a regular property.

Sample code, which is also attached, is

Rik <rik5>
Project Administrator


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

Attach File(s):

Attached Files
file #42816:  colormap_listen.patch added by pantxo (1KiB - text/x-patch)
file #42811:  tst_cb_colormap.m added by rik5 (609B - text/x-matlab)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by pantxo (Updated the item)
  • -email is unavailable- added by rik5 (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
    Thu 04 Jan 2018 01:49:04 AM UTCrik5StatusPatch Submitted=>Fixed
    Wed 03 Jan 2018 11:47:52 PM UTCpantxoAttached File-=>Added colormap_listen.patch, #42816
      StatusNone=>Patch Submitted
    Wed 03 Jan 2018 07:32:52 PM UTCrik5Attached File-=>Added tst_cb_colormap.m, #42811

    Back to the top

    Powered by Savane 3.1-cleanup1