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

 
 

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

Submitter:  None
Submitted:  Sun 28 Jul 2019 10:33:43 AM UTC
   
 
Category:  GUI Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Unexpected Error or Warning
Status:  Fixed Assigned to:  ttl
Originator Name:  Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * 6.1.0
Operating System:  * GNU/Linux Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Tue 01 Dec 2020 05:52:58 PM UTC, comment #7: 

I grafted the change back to the stable branch.  Marking as fixed and closing report.

Rik <rik5>
Group administrator
Mon 30 Nov 2020 02:25:57 AM UTC, comment #6: 

The changes affect only GUI internals, thus I would define it as not breaking.

This bug is likely to be hit by more GUI users and it increases the user experience.

If possible, please graft it back to 6.2.

Kai Torben Ohlhus <siko1056>
Group Member
Sun 29 Nov 2020 02:27:14 PM UTC, comment #5: 

Shall we graft this fix for a 6.2 release?

Torsten Lilge <ttl>
Group Member
Sun 29 Nov 2020 01:35:58 PM UTC, comment #4: 

According to comment #2, this was fixed on the default branch in June 2020. So this change should be rolling out with Octave 7.

Markus Mützel <mmuetzel>
Group administrator
Sat 28 Nov 2020 09:24:21 PM UTC, comment #3: 

I still see this (closed) bug with the recently released Octave 6.1.0 (on linux). Has this behavior really been fixed?

Hartmut <hardy>
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>
Group Member
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>
Group 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 siko1056 (Posted a comment)
  • -email is unavailable- added by mmuetzel (Posted a comment)
  • -email is unavailable- added by hardy (Posted a comment)
  • -email is unavailable- added by ttl (Posted a comment)
  • -email is unavailable- added by rik5 (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 14 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-12-01 rik5 StatusNeed Info Fixed
        Open/ClosedOpen Closed
    2020-11-30 siko1056 StatusFixed Need Info
        Open/ClosedClosed Open
        Releasedev 6.1.0
    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 or Warning
        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.13-f8d8.
    Corresponding source code