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

 
 

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

Submitted by:  Rik <rik5>
Submitted on:  Mon 03 May 2010 04:00:39 AM UTC  
 
Category: InterpreterSeverity: 1 - Wish
Priority: 5 - NormalItem Group: Feature Request
Status: FixedAssigned to: David Bateman <dbateman>
Originator Name: Open/Closed: Closed
Release: devOperating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

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>
Project MemberIn charge of this item.
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>
Project Administrator

 

(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 dbateman (Posted a comment)
  • -unavailable- added by dbateman
  • -unavailable- added by rik5 (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):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 21 Jun 2010 09:56:55 PM UTCdbatemanOpen/ClosedOpen=>Closed
    Mon 21 Jun 2010 09:56:01 PM UTCdbatemanStatusNone=>Fixed
      Assigned toNone=>dbateman
      Carbon-Copy-=>Added bpabbott

    Back to the top


    Powered by Savane 3.1-cleanup1