bugGNU Octave - Bugs: bug #47496, Values in Workspace view are...


bug #47496: Values in Workspace view are limited by 10 numbers

Submitter:  Ruslan <l0110111>
Submitted:  Tue 22 Mar 2016 09:22:46 AM UTC
Category:  GUI Severity:  1 - Wish
Priority:  1 - Later Item Group:  Feature Request
Status:  Wont Fix Assigned to:  None
Originator Name:  Ruslan Open/Closed:  * Closed
Release:  * dev Operating System:  * Any
* Mandatory Fields

Add a New Comment (Rich Markup)

Comment Type & Canned Response:


Fri 12 Nov 2021 04:33:03 AM UTC, comment #3: 

noting the limited display in Worskpace is still the same in Octave 6.4.0, but the Variable editor has been part of octave for a while now.  As the workaround was pushed to core, and no one has objected to comment #2 in 5 years, closing as Won't Fix as suggested.

Nicholas Jankowski <nrjank>
Project Member
Thu 31 Mar 2016 02:38:03 AM UTC, comment #2: 

So are we saying the variable editor feature is the solution and there will never be a reason to show more than 10 elements of an array in the "Value" column of the "Workspace" panel table?

If so then let's just call this won't fix and refer to patch #8656 as the solution.

Mike Miller <mtmiller>
Project Administrator
Tue 22 Mar 2016 06:21:24 PM UTC, comment #1: 

If you are able to build Octave yourself, you can try the Variable Editor from patch #8656. That will allow you to view as large a matrix as you wish (within screen limits) and even allows editing values and copy/paste to/from other programs.
Although not quite feature complete, and the usual warnings apply, I find it very useful and I often invoke it.

I just uploaded a cset I have made a while ago from the patches in that patch report and that still applies to dev Octave.
Just do not try to use the "autofit" option in its prefs, it'll unacceptably slow down painting the variable editor pane.

Philip Nienhuis <philipnienhuis>
Project Member
Tue 22 Mar 2016 09:22:46 AM UTC, original submission:  

Consider the following code:

mat=[ 1,2,3; 4,5,6; 7,8,9; 10,11,12 ];

If you set a breakpoint at the second line and run the script, you'll see the value of `mat` in Workspace view as

mat double 4x3 [ 1, 2, 3; 4, 5, 6; 7, 8, 9; 10

This is hardly usable for 4x3 or larger matrices. One has to explicitly use `disp` to show such values, and Workspace view becomes useless.
This looks especially miserable on hi-res screens like 3840x2160.

I'd suppose the view should print as many elements of matrices as it can fit in its width. Or at least have a user-configurable limit for displayed element count.

Ruslan <l0110111>


(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 nrjank (Posted a comment)
  • -email is unavailable- added by siko1056 (Updated the item)
  • -email is unavailable- added by mtmiller (Updated the item)
  • -email is unavailable- added by l0110111 (Submitted the item)

    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 project members can vote.





    Follow 8 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-11-12 nrjank StatusConfirmed Wont Fix
        Open/ClosedOpen Closed
    2016-03-30 siko1056 StatusNone Confirmed
    2016-03-22 mtmiller Severity3 - Normal 1 - Wish
        Priority5 - Normal 1 - Later
        Item GroupOther Feature Request
        Release4.0.1-rc1 dev
        Operating SystemGNU/Linux Any

    Back to the top

    Powered by Savane 3.9