bugGNU Octave - Bugs: bug #51251, gca should accept figure handle...

 
 

bug #51251: gca should accept figure handle argument

Submitted by:  None
Submitted on:  Fri 16 Jun 2017 06:28:58 PM UTC  
 
Category: Octave FunctionSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Feature Request
Status: NoneAssigned to: None
Originator Name: Marshall FloydOriginator Email: -unavailable-
Open/Closed: OpenRelease: 4.2.1
Operating System: Any

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Sun 18 Jun 2017 12:28:09 AM UTC, comment #3:

Matlab does have lots of behavior which is undocumented. In general, Octave doesn't try to follow undocumented Matlab because it can change from release to release with no warning or deprecation.

Rik <rik5>
Project Administrator
Sun 18 Jun 2017 12:07:36 AM UTC, comment #2:
Marshall <marsian>
Fri 16 Jun 2017 07:06:56 PM UTC, comment #1:

This seems to be a feature request rather than a Matlab compatibility issue. According to The Mathworks documentation, gca does not accept an argument (http://www.mathworks.com/help/matlab/ref/gca.html).

It is probably best to continue to use your own version of gca.

Rik <rik5>
Project Administrator
Fri 16 Jun 2017 06:28:58 PM UTC, original submission:

It would be nice if gca would take an optional argument of the figure handle to get the current axis for. I've used this in Matlab and find it rather useful when there are many figures.

Here's my fix that would make it work the way I want/expect:

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by marsian (Posted a comment)
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by None (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):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 16 Jun 2017 07:06:56 PM UTCrik5Item GroupMatlab Compatibility=>Feature Request

    Back to the top


    Powered by Savane 3.1-cleanup1