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


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

Submitted by:  Jordi Gutiérrez Hermoso <jordigh>
Submitted on:  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:  Jordi Gutiérrez Hermoso <jordigh>
Originator Name:  Open/Closed:  Open
Release:  dev Operating System:  Any

Add a New Comment (Rich Markup)

You are not logged in

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


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>
Project 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>
Project 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>
Project AdministratorIn charge of this item.


(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)

    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 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.7