octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #53999] polar plot does not plot axis when plo


From: anonymous
Subject: [Octave-bug-tracker] [bug #53999] polar plot does not plot axis when plotting some functions
Date: Mon, 28 May 2018 11:23:52 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0

URL:
  <http://savannah.gnu.org/bugs/?53999>

                 Summary: polar plot does not plot axis when plotting some
functions
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Mon 28 May 2018 03:23:51 PM UTC
                Category: Plotting with OpenGL
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: Saleh
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.4.0
        Operating System: GNU/Linux

    _______________________________________________________

Details:


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







    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?53999>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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