bugGNU Octave - Bugs: bug #56513, Matlab text function allows axes...


bug #56513: Matlab text function allows axes handle as first input

Submitted by:  Richard <crobar>
Submitted on:  Mon 17 Jun 2019 11:33:16 PM UTC  
Category:  Octave Function Severity:  3 - Normal
Priority:  3 - Low Item Group:  Matlab Compatibility
Status:  Fixed Assigned to:  None
Originator Name:  Richard Crozier Open/Closed:  Closed
Release:  dev Operating System:  Any

Add a New Comment (Rich Markup)

You are not logged in

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


Wed 10 Jul 2019 09:09:15 PM UTC, comment #2: 

In the end, trivial to change.  I checked in this patch on the development branch (https://hg.savannah.gnu.org/hgweb/octave/rev/c90648dde5cf).  Marking as fixed and closing report.

Rik <rik5>
Project Administrator
Wed 10 Jul 2019 08:57:53 PM UTC, comment #1: 

Marking as confirmed.  Matlab has been slowly shifting the API under us.  It didn't use to be the case that an axes handle was valid input for the first argument.  However, more and more of their plot functions now accept a figure or axes handle as the first argument.

I'm lowering the priority since there is an easy workaround as you suggest.

Rik <rik5>
Project Administrator
Mon 17 Jun 2019 11:33:16 PM UTC, original submission:  

In Matlab you can call the text function giving the first argument as an axes handle in which to create the text object. This is not possible in Octave.

See https://uk.mathworks.com/help/matlab/ref/text.html

Admittedly, the workaround is quite simple, to use the 'parent' property instead.

Richard <crobar>


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

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by crobar (Submitted the item)

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

    Only project members can vote.




    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-07-10 rik5 Open/ClosedOpen => Closed
    2019-07-10 rik5 StatusConfirmed => Fixed
    2019-07-10 rik5 Priority5 - Normal => 3 - Low
        StatusNone => Confirmed
        Release5.1.0 => dev

    Back to the top

    Powered by Savane 3.6