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

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

[Octave-bug-tracker] [bug #33607] plot does not automatically convert bo


From: L. Markowsky
Subject: [Octave-bug-tracker] [bug #33607] plot does not automatically convert boolean values to numeric in 3.4.0
Date: Tue, 21 Jun 2011 12:20:10 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:2.0.1) Gecko/20100101 Firefox/4.0.1

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

                 Summary: plot does not automatically convert boolean values
to numeric in 3.4.0
                 Project: GNU Octave
            Submitted by: lmarkov
            Submitted on: Tue 21 Jun 2011 12:20:10 PM GMT
                Category: Interpreter
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: lmarkov
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.4.0
        Operating System: GNU/Linux

    _______________________________________________________

Details:

Hello,

plot automatically converts boolean values to numeric in Octave 3.2.4 but not
in 3.4.0. For example, in 3.4.0:

+verbarim+
>>> y=[true true true true true]
y =

   1   1   1   1   1

>>> plot(y)
warning: implicit conversion from matrix to sq_string
error: get: unknown line property 
error: called from:
error:   /usr/share/octave/3.4.0/m/plot/private/__line__.m at line 65, column
5
error:   /usr/share/octave/3.4.0/m/plot/line.m at line 38, column 5
error:   /usr/share/octave/3.4.0/m/plot/private/__plt__.m at line 597, column
12
error:   /usr/share/octave/3.4.0/m/plot/private/__plt__.m at line 238, column
14
error:   /usr/share/octave/3.4.0/m/plot/private/__plt__.m at line 193, column
10
error:   /usr/share/octave/3.4.0/m/plot/private/__plt__.m at line 104, column
17
error:   /usr/share/octave/3.4.0/m/plot/plot.m at line 194, column 9


Thank you,
lmarkov




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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