bugGNU Octave - Bugs: bug #37211, gco should not create a figure if...

 
 

bug #37211: gco should not create a figure if none exists

Submitted by:  Guillaume <gyom>
Submitted on:  Tue 28 Aug 2012 05:30:14 PM UTC  
 
Category: PlottingSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: FixedAssigned to: None
Originator Name: GuillaumeOpen/Closed: Closed
Release: devOperating System: Any

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

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

 

Wed 29 Aug 2012 08:26:54 AM UTC, comment #2:

It's the responsibility of the backend to provide a relevant value for the currentobject property. At the moment, only QtHandles does it.

Michael Goffioul <goffioul>
Project Member
Tue 28 Aug 2012 11:24:04 PM UTC, comment #1:

I modified gco.m along the lines you suggested. The changeset is here (http://hg.savannah.gnu.org/hgweb/octave/rev/fa8f3955e70a).

Incidentally, does gco work at all for you? It seems to always return the empty matrix. That is probably a separate bug report that should get filed.

Rik <rik5>
Project Administrator
Tue 28 Aug 2012 05:30:14 PM UTC, original submission:

In its current implementation, gco() creates a figure if none exists (through gcf()), while MATLAB would return []: this is mentioned explicitly in the help text of the function.

Could the implementation of gco() be changed to:

Guillaume <gyom>

 

(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 goffioul (Posted a comment)
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by gyom (Submitted the item)
  • -unavailable- added by gyom
  •  

    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 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 28 Aug 2012 11:24:04 PM UTCrik5StatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Tue 28 Aug 2012 05:30:14 PM UTCgyomCarbon-Copy-=>Added goffioul

    Back to the top


    Powered by Savane 3.1-cleanup