[Top][All Lists]

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

[Octave-bug-tracker] [bug #36493] memory exhausted when plotting small n

From: Marco Caliari
Subject: [Octave-bug-tracker] [bug #36493] memory exhausted when plotting small negative constant data with log scale
Date: Fri, 25 May 2012 13:12:29 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv: Gecko/20101203 Firefox/3.6.13

Follow-up Comment #2, bug #36493 (project octave):


I think the problem is around line 5931 of graphics.cc. min_val should be
increased if negative and max_val decreased. Is it elegant something like

min_val *= (1-signum(min_val)/10);
max_val *= (1+signum(min_val)/10);

? Or, is it better an if-else solution?



Reply to this item at:


  Message sent via/by Savannah

reply via email to

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