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

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

[Octave-patch-tracker] [patch #9985] [octave forge] (statistics) Add fun


From: anonymous
Subject: [Octave-patch-tracker] [patch #9985] [octave forge] (statistics) Add function confusionchart
Date: Sat, 6 Mar 2021 09:36:00 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0

Follow-up Comment #14, patch #9985 (project octave):

On 6.x and older it works. It is certainly this part (line 821):

num2str (l_rs(nonzero_idx))


Where "l_rs(nonzero_idx)" is a column of numbers and "num2str
(l_rs(nonzero_idx))" is a matrix of characters, e.g.:

>> num2str ([1;21;3])
ans =

 1
21
 3


The "text" function of line 820 should return an array of "text" graphics
objects with the x, y, and label properties determined by each line of "x_rs",
"y_rs", "l_rs". A "for" statement could easily overcome the problem, but it is
nicer this way, I think.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/patch/?9985>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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