[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #60959] semilogxerr throws "warning: axis: omi
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #60959] semilogxerr throws "warning: axis: omitting non-positive data in log plot" although data > 0 |
Date: |
Thu, 22 Jul 2021 09:55:13 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.101 Safari/537.36 |
Update of bug #60959 (project octave):
Category: None => Octave Function
Item Group: None => Unexpected Error or
Warning
Status: None => Fixed
Open/Closed: Open => Closed
Release: 6.3.0 => dev
Operating System: Microsoft Windows => Any
_______________________________________________________
Follow-up Comment #2:
Confirmed.
There is no problem with the data, and it is plotted correctly. The warning
is incorrect and should not be shown.
The reason is that the code first creates a line object with the correct
formatting, and only later changes the "xdata" and "ydata" properties with the
given data. The default data for a line object is [0, 1] and so the plotting
engine objects about non-positive data for the point (0,0).
I checked in a fix here
http://hg.savannah.gnu.org/hgweb/octave/rev/4f51ea7a510a.
Marking as fixed and closing report.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?60959>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/