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

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

[Octave-bug-tracker] [bug #56685] Variable editor won't plot selected va


From: Rik
Subject: [Octave-bug-tracker] [bug #56685] Variable editor won't plot selected variable (incorrect size error)
Date: Mon, 29 Jul 2019 17:48:39 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko

Update of bug #56685 (project octave):

                Category:                Plotting => GUI                    
              Item Group:                    None => Unexpected Error       
                  Status:                    None => Confirmed              
                 Summary: Variable editor wont plot selected variable
(incorrect size error) => Variable editor won't plot selected variable
(incorrect size error)

    _______________________________________________________

Follow-up Comment #1:

Confirmed.

This is pretty braindead.  When you select the entire row, it uses the last
column displayed in the variable editor to determine the range of values to
plot.  Even though there are only 11 elements in the vector, there are extra
columns displayed in case you wanted to append elements in the variable
editor.  The last column displayed is 27.  Hence, the issued plot command


figure (); plot (t(1, 1:27)); title ("t(1, 1:27)");


makes sense, but also generates an error.


error: t(_,27): but t has size 1x11


Probably the easiest thing to do would be to substitute the magic keyword
"end", instead of the column number, when the selection is larger than the
variable size.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?56685>

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




reply via email to

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