[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #37211] gco should not create a figure if none

From: Guillaume
Subject: [Octave-bug-tracker] [bug #37211] gco should not create a figure if none exists
Date: Tue, 28 Aug 2012 17:30:15 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20100101 Firefox/14.0.1


                 Summary: gco should not create a figure if none exists
                 Project: GNU Octave
            Submitted by: gyom
            Submitted on: Tue 28 Aug 2012 05:30:14 PM GMT
                Category: Plotting
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: Guillaume
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Any



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:

h = get(get (0, "currentfigure"), "currentobject");


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]