help-octave
[Top][All Lists]
Advanced

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

Re: Can I suppress this warning? warning: axis: omitting non-positive da


From: mmuetzel
Subject: Re: Can I suppress this warning? warning: axis: omitting non-positive data in log plot
Date: Tue, 26 Mar 2019 11:50:33 -0500 (CDT)

You could set the offending data to NaN before doing the log plot.
E.g.:
x = -1:10;
x(x<=0) = NaN;
loglog(x);

Markus



--
Sent from: http://octave.1599824.n4.nabble.com/Octave-General-f1599825.html



reply via email to

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