bugGNU Octave - Bugs: bug #40211, More compact output for structs...


bug #40211: More compact output for structs and cell arrays

Submitter:  Jordi GutiĆ©rrez Hermoso <jordigh>
Submitted:  Tue 08 Oct 2013 06:37:01 PM UTC
Category:  Interpreter Severity:  2 - Minor
Priority:  5 - Normal Item Group:  Feature Request
Status:  In Progress Assigned to:  jordigh
Originator Name:  Open/Closed:  * Open
Release:  * dev Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup

Tue 04 Jun 2019 03:59:18 PM UTC, comment #3: 

@Jordi: I just re-noticed this issue report.  Are you still working on this?  Do you have any code, even if not fully baked, that could form the start of a changeset?

Rik <rik5>
Group administrator
Sun 12 Jun 2016 08:18:18 AM UTC, comment #2: 

I agree this would be nice; I've often wanted it.  Jordi, are you still working on it?  If you have a draft, I'd be happy to take a pass.

On a related note, I like the fact that Octave displays scalars on the same line as the variable name, unlike Matlab.  However, for matrices and vectors, why is there a blank line above and below the answer?

My preferred format would be for row vectors that fit in one line to be displayed on the same line as the variable name, and for less space in cases when multiple lines are needed.

Lachlan Andrew <lachlan>
Tue 08 Oct 2013 08:21:50 PM UTC, comment #1: 

I think you're right.  And if people want the verbose, pretty-print version there is always celldisp().

Rik <rik5>
Group administrator
Tue 08 Oct 2013 06:37:01 PM UTC, original submission:  

It would be useful if output for cell arrays actually showed the array structure by compacting entries (e.g. "[10x10 double]" instead of showing the actual matrix). Possibly the same for structs, and possibly control switching between the current and this more compact output.

I'll be working on this.

Jordi GutiƩrrez Hermoso <jordigh>
Group Member


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

Attach Files:

No files currently attached


Carbon-Copy List
  • -email is unavailable- added by lachlan (Posted a comment)
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by jordigh (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 group members can vote.


    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-03-26 mtmiller Dependencies- bugs #53464 is dependent
    2015-04-18 mtmiller Dependencies- bugs #44868 is dependent

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code