help-octave
[Top][All Lists]
Advanced

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

Re: format: what is loose anc compact?


From: Søren Hauberg
Subject: Re: format: what is loose anc compact?
Date: Thu, 06 Nov 2008 09:21:44 +0100

tor, 06 11 2008 kl. 08:56 +0100, skrev Francesco Potorti`:
> In the 'format' help string I read:
> 
>     `compact'
>           Remove extra blank space around column number labels.
> 
>     `loose'
>           Insert blank lines above and below column number labels (this
>           is the default).
> 
> but I do not know what are "column number labels", nor do I see any
> difference when trying these.
> 
> What do they mean?

octave:2> rand (2, 10)
ans =

 Columns 1 through 7:

   0.330085   0.192145   0.024844   0.890885   0.677093   0.190281
0.640371
   0.536436   0.765884   0.410657   0.456414   0.294953   0.422953
0.109881

 Columns 8 through 10:

   0.534094   0.219350   0.679449
   0.517621   0.374168   0.617327

octave:3> format compact
octave:4> rand (2, 10)
ans =

 Columns 1 through 8:
   0.67664   0.53995   0.73210   0.64907   0.15698   0.23881   0.67213
0.60526
   0.13132   0.95384   0.98529   0.22103   0.10205   0.39779   0.72287
0.46085
 Columns 9 and 10:
   0.84061   0.34710
   0.94088   0.22318


I guess "column number labels" are texts such as "Columns 1 through 8:".
The difference between the two formats seem to be new line before and
after the column number labels.

Søren





reply via email to

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