bugGNU Octave - Bugs: bug #52761, unsure problems in plotting...

 
 

bug #52761: unsure problems in plotting functions 'fplot' and 'surfnorm' help text

Submitter:  None
Submitted:  Fri 29 Dec 2017 12:39:11 PM UTC
   
 
Category:  Documentation Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Fixed Assigned to:  None
Originator Name:  Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * 4.2.1
Operating System:  * Any Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 29 Dec 2017 04:44:00 PM UTC, comment #1: 

Reasonable to clarify these points.  I used parentheses in fplot to make sure the stepsize calculation is over the difference between XHI and XLO.  For surfnorm, I changed 'mag' to 'len' to indicate the overall length of the normal vector.  See http://hg.savannah.gnu.org/hgweb/octave/rev/dc6404ab6947.

Marking as fixed and closing report.

Rik <rik5>
Group administrator
Fri 29 Dec 2017 12:39:11 PM UTC, original submission:  

help fplot:

N is the minimum number of points to use.  When N is specified, maximum stepsize will be 'XHI - XLO / N'.

Does 'XHI - XLO / N' refer to '(XHI - XLO) / N' rather than 'XHI - (XLO / N)' ?


help surfnorm:

If output arguments are requested then the components of the normal
vectors are returned in NX, NY, and NZ and no plot is made.  The
normal vectors are unnormalized (magnitude != 1).  To normalize,
use
     mag = sqrt (nx.^2 + ny.^2 + nz.^2);
     nx ./= len;  ny ./= len;  nz ./= len;

In the above example code, do 'len' and 'mag' refer to the same variable ?

Anonymous

 

(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)
  •  

    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
    2017-12-29 rik5 StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code