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

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

[Octave-bug-tracker] [bug #36141] error message 'invalid use of script i


From: anonymous
Subject: [Octave-bug-tracker] [bug #36141] error message 'invalid use of script in index expression' with inconsistent behaviour
Date: Mon, 09 Apr 2012 15:44:53 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:11.0) Gecko/20100101 Firefox/11.0

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

                 Summary: error message 'invalid use of script in index
expression' with inconsistent behaviour
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Mo 09 Apr 2012 15:44:51 UTC
                Category: Plotting
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.2.4
        Operating System: GNU/Linux

    _______________________________________________________

Details:

using an example from
http://www.gnu.org/software/octave/doc/interpreter/Three_002dDimensional-Plotting.html
that once was working fine. 

example from gnu.org:


tx = ty = linspace (-8, 8, 41)';
[xx, yy] = meshgrid (tx, ty);
r = sqrt (xx .^ 2 + yy .^ 2) + eps;
tz = sin (r) ./ r;
mesh (tx, ty, tz);


following message occurs when trying to execute the example again (with no
changes to the system at all in between)


octave:1> tx = ty = linspace (-8, 8, 41)';
octave:2> [xx, yy] = meshgrid (tx, ty);
octave:3> r = sqrt (xx .^ 2 + yy .^ 2) + eps;
octave:4> tz = sin (r) ./ r;
octave:5> mesh (tx, ty, tz);
error: invalid use of script in index expression


it has to be mentioned that the first time the error message occured (and so i
got rid of it) was after calling a function from a script file that contained
the keyword 'break' for the first time.




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Mo 09 Apr 2012 15:44:51 UTC  Name: primsurf1.m  Size: 188B   By: None
first file is the 'break' containing file, second ist the gnu example
<http://savannah.gnu.org/bugs/download.php?file_id=25617>
-------------------------------------------------------
Date: Mo 09 Apr 2012 15:44:51 UTC  Name: mesh.m  Size: 138B   By: None
first file is the 'break' containing file, second ist the gnu example
<http://savannah.gnu.org/bugs/download.php?file_id=25618>

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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