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 Oct 8 18:37:01 2013  
 
Category: InterpreterSeverity: 2 - Minor
Priority: 5 - NormalItem Group: Feature Request
Status: In ProgressAssigned to: Jordi Gutiérrez Hermoso <jordigh>
Originator Name: Open/Closed: Open
Release: devOperating System: Any

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

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

 

Sun Jun 12 08:18:18 2016, 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>
Project Member
Tue Oct 8 20:21:50 2013, 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 Oct 8 18:37:01 2013, 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 File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Digest:
   bug dependencies.

 

Carbon-Copy List
  • -unavailable- added by lachlan (Posted a comment)
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by jordigh (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat Apr 18 00:29:51 2015mtmillerDependencies-=>bugs #44868 is dependent

    Back to the top


    Powered by Savane 3.1-cleanup