patchGNU Octave - Patches: patch #8599, polar() and single input

 
 

patch #8599: polar() and single input

Submitter:  Stefan Mahr <dac922>
Submitted:  Fri 30 Jan 2015 01:40:52 PM UTC
   
 
Category:  None Priority:  5 - Normal
Status:  Wont Do Privacy:  Public
Assigned to:  None Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 13 Feb 2015 05:19:46 PM UTC, comment #2: 

Matlab show a warning for single complex input :"Warning: Imaginary parts of complex X and/or Y arguments ignored" and uses 1:length(x) as angle.

Stefan also wants to recall this patch so I close it as "Wont Do"

Andreas Weber <andy1978>
Group Member
Fri 13 Feb 2015 05:14:13 PM UTC, comment #1: 

Just learned the current syntax matches better to (undocumented) matlab behaviour. So just forget about the patch.

Stefan Mahr <dac922>
Fri 30 Jan 2015 01:40:52 PM UTC, original submission:  

The current behaviour of plotting single input or complex data with polar() function seems rather strange to me. I see no practical use case.

My suggestion is to use magnitude for rho and angle for theta.

Stefan Mahr <dac922>

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #32948:  polar_complex.diff added by dac922 (3KiB - text/x-patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by andy1978 (Posted a comment)
  • -email is unavailable- added by dac922 (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 logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-02-13 andy1978 StatusNone Wont Do
        Open/ClosedOpen Closed
    2015-01-30 dac922 Attached File- Added polar_complex.diff, #32948

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code