|
From: | Franz Wankelhuber |
Subject: | [Octave-bug-tracker] [bug #48616] Matlab compatibility for semilogx() and xlim([0 uplim]) |
Date: | Mon, 25 Jul 2016 17:08:17 +0000 (UTC) |
User-agent: | Mozilla/5.0 (Windows NT 10.0; WOW64; rv:47.0) Gecko/20100101 Firefox/47.0 |
Follow-up Comment #8, bug #48616 (project octave): That's exactly the issue which seems to be handled a little bit more "gracefully" in Matlab. Matlab seems to omit the boundary point in the plot vector if one x-limit is set to 0 for a semilogx() plot. Without knowing the exact call stack I'd guess that somewhere before the call to opengl_renderer::draw_axes() a log10(x_min = 0) = -Inf for the lower bound of the semilogx() plot is calculated. -Inf as the value for x_min in draw_axes() then triggers the if (... || x_min < -floatmax || ...) statement, the warning gets thrown and further plot outputs are cancelled. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?48616> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |