[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #57052] Polar uses radians but the polar axis

From: Doug Stewart
Subject: [Octave-bug-tracker] [bug #57052] Polar uses radians but the polar axis is in deg.
Date: Sun, 13 Oct 2019 14:36:59 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36


                 Summary: Polar uses radians but the polar axis is in deg.
                 Project: GNU Octave
            Submitted by: dastew
            Submitted on: Sun 13 Oct 2019 06:36:57 PM UTC
                Category: Plotting
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: Doug Stewart
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 5.1.0
        Operating System: Any



When using the polar command to plot, it draws an axis with 0 - 360 deg shown.
The documentation also uses degrees. But it is assuming that the input data is
in radians.

c=ones(1,numel(q))*2; # a vector of 2s

This should draw a line at 2 degrees but it is a 2 radians.
We can change the documentation or the calculations.


Reply to this item at:


  Message sent via Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]