From bug-request at octave dot org Tue Jun 14 22:31:56 2005 Subject: Re: Displaying structures From: Keith Goodman To: "John W. Eaton" Cc: bug at octave dot org Date: Tue, 14 Jun 2005 20:30:46 -0700 On 6/14/05, John W. Eaton wrote: > On 14-Jun-2005, Keith Goodman wrote: > > | Would it be difficult to display structures as matlab does? > > help struct_levels_to_print Nice. I vote for setting the default value of struct_levels_to_print to zero. When struct_levels_to_print is set to zero it would be handy if Octave printed out everything that can fit on one line. For example, display x = { a: [1 2 3 4] bbb: 'Now this is nice' c: 1x100 matrix } instead of (the current behaviour) x = { a: 1x4 matrix bbb: 1x4 sq_string c: 1x100 matrix } An extra bonus would be to justify the text on the colon instead of the left margin---much easier to read. Would you take those changes if someone made a nice patch? ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------