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

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

[Octave-bug-tracker] [bug #55919] Format does not align space within mat


From: anonymous
Subject: [Octave-bug-tracker] [bug #55919] Format does not align space within matrices
Date: Thu, 14 Mar 2019 10:44:46 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:65.0) Gecko/20100101 Firefox/65.0

URL:
  <https://savannah.gnu.org/bugs/?55919>

                 Summary: Format does not align space within matrices
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Thu 14 Mar 2019 02:44:44 PM UTC
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 5.1.0
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

It's OK for format to not align decimals in "short g" or "long g" mode, but
not aligning spaces makes it difficult to read matrices.


>> clc; m = rand(3,4) * 10; format ; format compact; pi .^ m, format short g ;
format compact; pi .^ m
ans =
   63347.42037   19535.77952    2095.81019    7855.03927
       3.87267    1578.58116     117.64081      22.98961
      81.90035      44.51271       5.07318     339.91538

ans =
  63347  19536  2095.8  7855
  3.8727  1578.6  117.64  22.99
  81.9  44.513  5.0732  339.92





    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?55919>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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