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

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

[Octave-bug-tracker] [bug #31573] bar() fails when only one column of da


From: anonymous
Subject: [Octave-bug-tracker] [bug #31573] bar() fails when only one column of data is given
Date: Sun, 07 Nov 2010 00:23:04 +0000
User-agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; WOW64; Trident/4.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.5.21022; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET4.0C)

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

                 Summary: bar() fails when only one column of data is given
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Sun 07 Nov 2010 12:23:04 AM UTC
                Category: Libraries
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: Tamito KAJIYAMA
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.2.4
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

The bar() function fails when input data consists of only one column.
For instance, bar(1, 1) fails as follows:

octave-3.2.4.exe:2> bar(1, 1)
error: A(I): Index exceeds matrix dimension.
error: called from:
error:   C:\Octave\3.2.4_gcc-4.4.0\share\octave\3.2.4\m\plot\__bar__.m at
line 129, column 22
error:   C:\Octave\3.2.4_gcc-4.4.0\share\octave\3.2.4\m\plot\bar.m at line
67, column 19
octave-3.2.4.exe:2>

A patch for fixing this problem is in the attachment.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sun 07 Nov 2010 12:23:04 AM UTC  Name: octave-3.2.4-barplot.patch 
Size: 484B   By: None

<http://savannah.gnu.org/bugs/download.php?file_id=21952>

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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