bugGNU Octave - Bugs: bug #53999, polar plot does not plot axis when...

 
 

bug #53999: polar plot does not plot axis when plotting some functions

Submitter:  None
Submitted:  Mon 28 May 2018 03:23:51 PM UTC
   
 
Category:  Plotting with OpenGL Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Inaccurate Result
Status:  Fixed Assigned to:  None
Originator Name:  Saleh Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * 4.4.0
Operating System:  * GNU/Linux Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 12 Jun 2018 06:28:53 PM UTC, comment #2: 

I fixed the issue with negative rho values on the stable branch in this cset (http://hg.savannah.gnu.org/hgweb/octave/rev/265d3a59da27).  It will be a part of the 4.4.1 bug fix release.  Alternatively, since this is just an m-file, you can fetch it from the Mercurial repository for Octave and substitute the m-file in your installation in order to see the change.

Rik <rik5>
Group administrator
Tue 29 May 2018 02:56:47 PM UTC, comment #1: 

I am also having this problem. Seems to be related to plotting negative values.

Same error.

Anonymous
Mon 28 May 2018 03:23:51 PM UTC, original submission:  


The following code does not plot the axis, it only plot the curve.
In matlab it works just fine.

clf;
x=linspace(-2*pi,2*pi,40);
polar (x,atan(-x.^2))

It produce the following error

error: set: "dataaspectratio" must be greater than 0


When changing the function slightly, it works without any issue.

clf;
x=linspace(-2*pi,2*pi,40);
polar (x,atan(+x.^2))



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)
  • -email is unavailable- added by None (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 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-06-12 rik5 Item GroupUnexpected Error or Warning Inaccurate Result
        StatusConfirmed Fixed
        Open/ClosedOpen Closed
    2018-06-04 mtmiller Carbon-CopyRemoved 80942 -
    2018-06-04 mtmiller Item GroupNone Unexpected Error or Warning
        StatusNone Confirmed

    Back to the top

    Powered by Savane 3.14-3b9d.
    Corresponding source code