bugGNU Octave - Bugs: bug #43208, figure property lists differ

 
 

bug #43208: figure property lists differ

Submitted by:  Michael Godfrey <godfrey>
Submitted on:  Fri 12 Sep 2014 09:33:03 AM UTC  
 
Category: PlottingSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: NoneAssigned to: None
Originator Name: Michael GodfreyOpen/Closed: Closed
Release: devOperating System: Any

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

(Jump to the original submission Jump to the original submission)

Mon 15 Sep 2014 07:59:58 AM UTC, comment #6:

I agree that having one bug report for the needed rewrite
of Section 15.3.3 is appropriate. However, it would be
simpler for me if the last patch in bug #42536 were
pushed to the devel branch. It needs additional work as
you have pointed out, but it is in large part correct
and is a large patch. This would, at least, produce some progress.

In any case, closing this report is OK with me.

Michael Godfrey <godfrey>
Project Member
Mon 15 Sep 2014 07:13:56 AM UTC, comment #5:

May I close this bug report so that we continue the discussion in bug #42536?

Pantxo Diribarne <pantxo>
Project Member
Sat 13 Sep 2014 04:24:43 PM UTC, comment #4:

I will check this and see what can be done.
This will happen after the patch for
bug #42536 is pushed.

Michael Godfrey <godfrey>
Project Member
Sat 13 Sep 2014 04:03:35 PM UTC, comment #3:

This difference between set and get was introduced for matlab compatibility (see bug #41629). It lets you retrieve read-only properties names e.g. as follows :

I admit it would be good to document which properties are read-only in the manual.

As I don't have matlab at home I can't test the output of "get (gcf (), '')", and I can't say if there is really a bug about this.

Pantxo Diribarne <pantxo>
Project Member
Sat 13 Sep 2014 12:24:04 PM UTC, comment #2:

It is useful to know that set ignores read-only.
This will be better documented.

I have intended to try to find a way of indicating
read-only state, but this will need to wait a while.

Michael Godfrey <godfrey>
Project Member
Sat 13 Sep 2014 09:51:48 AM UTC, comment #1:

Hi,

I am not sure I understand what you mean. What is matlab output for "get (gcf (), '')"?

Anyways I wouldn't expect the output of "set" and "get" to be the same: some figure properties are read-only ("set" intendedly ignores them).

Pantxo Diribarne <pantxo>
Project Member
Fri 12 Sep 2014 09:33:03 AM UTC, original submission:

The following commands produce the attached output:
95 # Octave 4.1.0+, Thu Sep 11 13:50:40 2014 BST
96 h=figure();
97 set (gcf())
98 get (h,"");
The list from set (gcf()) does not match the one
from get(h,""), but bothe should list all figure
properties.

After the patch in bug # 42536 is applied the Manual
will be consistent with set (gcf()). However, I suspect
that get (h,"") is more nearly correct.

Michael Godfrey <godfrey>
Project Member

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #32081:  Figure_properties_mismatch added by godfrey (4KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by pantxo (Posted a comment)
  • -unavailable- added by godfrey (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 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 15 Sep 2014 10:04:18 AM UTCpantxoOpen/ClosedOpen=>Closed
    Fri 12 Sep 2014 09:33:03 AM UTCgodfreyAttached File-=>Added Figure_properties_mismatch, #32081

    Back to the top


    Powered by Savane 3.1-cleanup1