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

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

[Octave-bug-tracker] [bug #42135] get(0, 'FormatSpacing') always returns


From: anonymous
Subject: [Octave-bug-tracker] [bug #42135] get(0, 'FormatSpacing') always returns 'loose', should return the "format compact/loose" setting
Date: Thu, 17 Apr 2014 15:27:40 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:28.0) Gecko/20100101 Firefox/28.0

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

                 Summary: get(0,'FormatSpacing') always returns 'loose',
should return the "format compact/loose" setting
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Thu 17 Apr 2014 03:27:38 PM UTC
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.8.1
        Operating System: GNU/Linux

    _______________________________________________________

Details:

Whether "format loose" or "format compact", get(0,'FormatSpacing') always says
'loose'.

Same behaviour in 3.6.4 and 3.8.1.

## Example

octave:8> format loose
octave:9> a = rand(2,3)
a =

   0.450011   0.999027   0.011445
   0.563668   0.175056   0.285459

octave:10> get(0,'FormatSpacing')
ans = loose

## Now

octave:11> format compact
octave:12> a
a =
   0.450011   0.999027   0.011445
   0.563668   0.175056   0.285459
octave:13> get(0,'FormatSpacing')
ans = loose
octave:14> 


I learned about this at
[http://nf.nci.org.au/facilities/software/Matlab/techdoc/ref/format.html] and
have confirmed that it works in that product.





    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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