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:  Confirmed Assigned to:  None
Originator Name:  Originator Email:  -email is unavailable-
Open/Closed:  Open Release:  5.1.0
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.

 

Mon 29 Jul 2019 09:48:39 PM UTC, 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.

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

Anonymous

 

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

Attach Files:
   
   
Comment:
   

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 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 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    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