octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #40479] Columns of matrices displayed not alig


From: anonymous
Subject: [Octave-bug-tracker] [bug #40479] Columns of matrices displayed not aligned on decimal point when using some formats
Date: Tue, 05 Nov 2013 12:20:11 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:25.0) Gecko/20100101 Firefox/25.0

URL:
  <http://savannah.gnu.org/bugs/?40479>

                 Summary: Columns of matrices displayed not aligned on decimal
point when using some formats
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Tue 05 Nov 2013 12:20:10 PM UTC
                Category: Interpreter
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: Alfredo Maldonado Guerra
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.6.4
        Operating System: GNU/Linux

    _______________________________________________________

Details:

I noticed that when using "format bank" and "format short g" (at least),
matrices are not displayed with columns aligned on the decimal point. Matrices
instead are displayed in a rather messy way.

Here's an example:

octave:71> format bank
octave:72> Ua
Ua =

  -0.22  -0.11  0.29  -0.41  -0.11  -0.34  -0.52  0.06  0.41
  -0.20  -0.07  0.14  -0.55  0.28  0.50  0.07  0.01  0.11
  -0.24  0.04  -0.16  -0.59  -0.11  -0.25  0.30  -0.06  -0.49
  -0.40  0.06  -0.34  0.10  0.33  0.38  -0.00  0.00  -0.01
  -0.64  -0.17  0.36  0.33  -0.16  -0.21  0.17  -0.03  -0.27
  -0.27  0.11  -0.43  0.07  0.08  -0.17  -0.28  0.02  0.05
  -0.27  0.11  -0.43  0.07  0.08  -0.17  -0.28  0.02  0.05
  -0.30  -0.14  0.33  0.19  0.11  0.27  -0.03  0.02  0.17
  -0.21  0.27  -0.18  -0.03  -0.54  0.08  0.47  0.04  0.58
  -0.01  0.49  0.23  0.02  0.59  -0.39  0.29  -0.25  0.23
  -0.04  0.62  0.22  0.00  -0.07  0.11  -0.16  0.68  -0.23
  -0.03  0.45  0.14  -0.01  -0.30  0.28  -0.34  -0.68  -0.18

The expected output is:
Ua =

  -0.22  -0.11   0.29  -0.41  -0.11  -0.34  -0.52   0.06   0.41
  -0.20  -0.07   0.14  -0.55   0.28   0.50   0.07   0.01   0.11
  -0.24   0.04  -0.16  -0.59  -0.11  -0.25   0.30  -0.06  -0.49
  -0.40   0.06  -0.34   0.10   0.33   0.38  -0.00   0.00  -0.01
  -0.64  -0.17   0.36   0.33  -0.16  -0.21   0.17  -0.03  -0.27
  -0.27   0.11  -0.43   0.07   0.08  -0.17  -0.28   0.02   0.05
  -0.27   0.11  -0.43   0.07   0.08  -0.17  -0.28   0.02   0.05
  -0.30  -0.14   0.33   0.19   0.11   0.27  -0.03   0.02   0.17
  -0.21   0.27  -0.18  -0.03  -0.54   0.08   0.47   0.04   0.58
  -0.01   0.49   0.23   0.02   0.59  -0.39   0.29  -0.25   0.23
  -0.04   0.62   0.22   0.00  -0.07   0.11  -0.16   0.68  -0.23
  -0.03   0.45   0.14  -0.01  -0.30   0.28  -0.34  -0.68  -0.18
 
i.e. I would columns aligned on the decimal point. This makes reading matrices
so much easier.

I'm using Octave version 3.6.4 on Ubuntu 13.04 




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?40479>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]