bugGNU Octave - Bugs: bug #29748, Feature Request: set(gca) should...

 
 

bug #29748: Feature Request: set(gca) should be implemented

Submitter:  Rik <rik5>
Submitted:  Mon 03 May 2010 04:00:39 AM UTC
   
 
Category:  Interpreter Severity:  1 - Wish
Priority:  5 - Normal Item Group:  Feature Request
Status:  Fixed Assigned to:  dbateman
Originator Name:  Open/Closed:  * Closed
Release:  * dev Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 21 Jun 2010 09:56:01 PM UTC, comment #1: 

I thought this would be as easy as currently the graphic objects all have a get_defaults method. Unfortunately that just get any default information that is set, and if none has been set its empty. So more invasive changes were needed.

Thanks to the feedback from Ben, the changeset

http://hg.savannah.gnu.org/hgweb/octave/rev/9d4a198614ab

adds this feature. I believe its matlab compatible, but would appreciate feedback.

Cheers
David

David Bateman <dbateman>
Group Member
Mon 03 May 2010 04:00:39 AM UTC, original submission:  

According to the documentation:

---------------------
... calling set with a graphics object index as the only argument returns a structure containing the default values for all the properties for the given object type. For example,
set (gca ())
returns a structure containing the default property values for axes objects.

---------------------

However, when the command from the documentation is used the actual result is:
-------------
error: axes::defaults: not implemented
-------------

The same is true of the root figure (0).

Rik <rik5>
Group administrator

 

(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 dbateman (Posted a comment)
  • -email is unavailable- added by dbateman
  • -email is unavailable- added by rik5 (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 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-06-21 dbateman Open/ClosedOpen Closed
    2010-06-21 dbateman StatusNone Fixed
        Assigned toNone dbateman
        Carbon-Copy- Added bpabbott

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code