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

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

[Octave-bug-tracker] [bug #35357] set "ylim": memory exhausted or reques


From: Dominik Schulz
Subject: [Octave-bug-tracker] [bug #35357] set "ylim": memory exhausted or requested size too large
Date: Mon, 23 Jan 2012 17:26:10 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20100101 Firefox/8.0

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

                 Summary: set "ylim": memory exhausted or requested size too
large
                 Project: GNU Octave
            Submitted by: realniki
            Submitted on: Mo 23 Jan 2012 17:26:09 GMT
                Category: Plotting
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Crash
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.4.3
        Operating System: GNU/Linux

    _______________________________________________________

Details:

When I am doing the following on my Gentoo system:

-------------------------
x = [1 2];
y = [2 2];
semilogy(x, y);
a = 1.1;
set(gca, "ylim",[a, 2])
-------------------------

a get this message:
  "error: memory exhausted or requested size too large for range of Octave's
index type -- trying to return to prompt"


Everything works fine as long as 'a' is less or equal to 1.0 (or more precise:
a <= 1+e-16).

I encountered this when using the function 'axis()'. Then, I digged through
the code of axis.m until I was at line 289...
    if (len > 3)
      set (ca, "ylim", [ax(3), ax(4)]);
    endif
...which results in the error mentioned above and crashes a running octave
program.




    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.gnu.org/




reply via email to

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