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

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

[Octave-bug-tracker] [bug #44659] Plotting the result of (==) comparison


From: Pantxo Diribarne
Subject: [Octave-bug-tracker] [bug #44659] Plotting the result of (==) comparison of two vectors does not plot properly
Date: Sun, 29 Mar 2015 12:33:33 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0

Follow-up Comment #1, bug #44659 (project octave):

Hi,

Thanks for your bug report. You are using a pretty old version of Octave.
Since then things have changed: 3.8.1 triggers another error message 


error: invalid value for array property "ydata"
error: called from:
error:   /usr/share/octave/3.8.1/m/plot/draw/private/__stem__.m at line 135,
column 7
error:   /usr/share/octave/3.8.1/m/plot/draw/stem.m at line 127, column 8



4.0.0rc1 explicitly says that inputs should be numeric (not boolean as in your
example):


error: stem: X and Y must be numeric
error: called from
    __stem__>check_stem_arg at line 254 column 7
    __stem__ at line 37 column 40
    stem at line 127 column 8


Can you check how Matlab handles this example? Do they turn bool into double? 

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message posté via/par Savannah
  http://savannah.gnu.org/




reply via email to

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