[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: different number of leading spaces for odd/even indices in screen ou
From: |
Max Brister |
Subject: |
Re: different number of leading spaces for odd/even indices in screen output |
Date: |
Wed, 1 Aug 2012 13:17:01 -0500 |
On Wed, Aug 1, 2012 at 1:07 PM, Sergei Steshenko <address@hidden> wrote:
>
>
>
>
> ----- Original Message -----
>> From: Max Brister <address@hidden>
>> To: Sergei Steshenko <address@hidden>
>> Cc: Octave users list <address@hidden>
>> Sent: Wednesday, August 1, 2012 9:04 PM
>> Subject: Re: different number of leading spaces for odd/even indices in
>> screen output
>>
> [snip]
>> It looks to me like the number of spaces depends on the longest number
>> being printed. For example, try 'foo = 1:11' and 'foo = 1:8'. I
>> think
>> this makes sense and is expected as it makes the formatting for
>> matrices nicer.
>>
>> Max
>>
>
> How is it related to the leading spaces ?
Actually, now that you mention it, I'm not sure.
> Are numbers in columns supposed to be right-justified or left-justified ?
right, I think.
You can always check the source code...
> Thanks,
> Sergei.
>
Max