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

 
 

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

Submitter:  Richard <crobar>
Submitted:  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
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group 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>
Group 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:
   
   
Comment:
   

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)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group 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.13-f8d8.
    Corresponding source code