bugGNU Octave - Bugs: bug #49104, Add explanation to position...

 
 

bug #49104: Add explanation to position property of figure function

Submitter:  Tatsuro MATSUOKA <tmacchant>
Submitted:  Fri 16 Sep 2016 05:17:41 AM UTC
   
 
Category:  Documentation Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Other
Status:  Fixed Assigned to:  None
Originator Name:  Tatsuro MATSUOKA Open/Closed:  * Closed
Release:  * 4.2.0-rc1 Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 16 Sep 2016 07:50:38 PM UTC, comment #2: 

I committed your patch.  I made two small changes.  First, I wrapped the lines to be <=79 characters.  Second, I added the bug number in to the commit message ("bug #49104").  Thanks for noticing this.

Rik <rik5>
Group administrator
Fri 16 Sep 2016 06:57:20 AM UTC, comment #1: 

Ooops!

Unit of position property depends on unit property.


# HG changeset patch
# User Tatsuro Matsuoka <tmacchant@yahoo.co.jp>
# Date 1474008940 -32400
#      Fri Sep 16 15:55:40 2016 +0900
# Node ID e8f7fb4b708234294a7e1d640ce78b10fc3f7d59
# Parent  1d3b7153053900499cdc8b6aac7061f51155f686
Add explanation to position property of function figure.

diff -r 1d3b71530539 -r e8f7fb4b7082 doc/interpreter/genpropdoc.m
--- a/doc/interpreter/genpropdoc.m      Thu Sep 15 22:10:14 2016 -0400
+++ b/doc/interpreter/genpropdoc.m      Fri Sep 16 15:55:40 2016 +0900
@@ -438,6 +438,9 @@
         s.doc = doc_unused;

       case "position"
+        s.doc = "Specify the position and size of the figure. The four elements  \
+of the vector are the coordinates of the lower left corner and width and height \
+of the figure. Units of elements are specified by the units property (defalut pixels)";
         s.valid = valid_4elvec;

       case "renderer"


Tatsuro MATSUOKA <tmacchant>
Fri 16 Sep 2016 05:17:41 AM UTC, original submission:  

In the manual of 4.2.0-rc1

The position property of function figure is described as,


position: four-element vector, def. [300 200 560 420]


However meaning of each element of vector is ambiguous.

I propose the explanation as


# HG changeset patch
# User Tatsuro Matsuoka <tmacchant@yahoo.co.jp>
# Date 1474002433 -32400
#      Fri Sep 16 14:07:13 2016 +0900
# Node ID ffc00b4cfe18e80c07444a657854d96bf442661c
# Parent  1d3b7153053900499cdc8b6aac7061f51155f686
Add explanation to position property of function figure.

diff -r 1d3b71530539 -r ffc00b4cfe18 doc/interpreter/genpropdoc.m
--- a/doc/interpreter/genpropdoc.m      Thu Sep 15 22:10:14 2016 -0400
+++ b/doc/interpreter/genpropdoc.m      Fri Sep 16 14:07:13 2016 +0900
@@ -438,6 +438,9 @@
         s.doc = doc_unused;

       case "position"
+        s.doc = "Specify the position and size of the figure. The four elements  \
+of the vector are the coordinates of the lower left corner and width and height \
+of the figure, in units pixel";
         s.valid = valid_4elvec;

       case "renderer"


Tatsuro MATSUOKA <tmacchant>

 

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

    Date Changed by Updated Field Previous Value => Replaced by
    2016-09-16 rik5 StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code