bugGNU Octave - Bugs: bug #56685, Variable editor won't plot...


bug #56685: Variable editor won't plot selected variable (incorrect size error)

Submitted by:  None
Submitted on:  Sun 28 Jul 2019 10:33:43 AM UTC  
Category:  GUI Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Unexpected Error
Status:  Fixed Assigned to:  Torsten Lilge <ttl>
Originator Name:  Originator Email:  -email is unavailable-
Open/Closed:  Closed Release:  dev
Operating System:  GNU/Linux

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Tue 02 Jun 2020 08:32:47 PM UTC, comment #2: 

This should be fixed with cset http://hg.savannah.gnu.org/hgweb/octave/rev/37c5532e558c on the default branch.

Torsten Lilge <ttl>
Project MemberIn charge of this item.
Mon 29 Jul 2019 09:48:39 PM UTC, comment #1: 


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.

Rik <rik5>
Project Administrator
Sun 28 Jul 2019 10:33:43 AM UTC, original submission:  

Variable editor wont plot selected variable (incorrect size error)

How to reproduce:
1) create a vector variable (type t=0:0.1:1; in command window)
  ->variable t appears in workspace
2) click on variable name in workspace -> variable editor opens up
3) click on 1st row in variable editor it (mark first row)
4) right click anywhere on first row then select plot

empty figure pops up, error: t(_,27): but t has size 1x11 comes up in command window



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by ttl (Posted a comment)
  • -email is unavailable- added by rik5 (Posted a comment)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.




    Follow 9 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-06-28 ttl StatusReady For Test => Fixed
        Open/ClosedOpen => Closed
    2020-06-02 ttl StatusConfirmed => Ready For Test
        Assigned toNone => ttl
        Release5.1.0 => dev
    2019-07-29 rik5 CategoryPlotting => GUI
        Item GroupNone => Unexpected Error
        StatusNone => Confirmed
        SummaryVariable editor wont plot selected variable (incorrect size error) => Variable editor won't plot selected variable (incorrect size error)

    Back to the top

    Powered by Savane 3.5