[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #60867] `whos` doesn't show sparse attribute
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #60867] `whos` doesn't show sparse attribute |
Date: |
Mon, 5 Jul 2021 17:17:11 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.101 Safari/537.36 |
Follow-up Comment #5, bug #60867 (project octave):
The format for the printed text from `whos` can be configured with
`whos_line_format`. Try `help whos_line_format`.
To left-justify a field you just need to add 'l' to the format specifier. For
example,
new_fmt = " %la:5; %ln:6; %cs:16:6:1; %rb:12; %lc:-1;\n";
whos_line_format (new_fmt)
The results with a complex, sparse, persistent variable are
Attr Name Size Bytes Class
==== ==== ==== ===== =====
cs p myvar 1x1 40 double
Is that better? Can always add this to the changeset as well.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?60867>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/