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

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

[Octave-bug-tracker] [bug #57919] Octave's visualization of structures c


From: José Luis García Pallero
Subject: [Octave-bug-tracker] [bug #57919] Octave's visualization of structures can be improved
Date: Fri, 28 Feb 2020 09:19:46 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0

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

                 Summary: Octave's visualization of structures can be improved
                 Project: GNU Octave
            Submitted by: jgpallero
            Submitted on: vie 28 feb 2020 14:19:45 UTC
                Category: Interpreter
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Feature Request
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
                 Release: dev
         Discussion Lock: Any
        Operating System: Any

    _______________________________________________________

Details:

A structure in Octave is shown on screen as

>> a.a=3;a.b='Hello';a.c=[1 2;3 4]
a =

  scalar structure containing the fields:

    a =  3
    b = Hello
    c =

       1   2
       3   4


i.e., all fields are expended, while the behavior in Matlab is

>> a.a=3;a.b='Hello';a.c=[1 2;3 4]

a = 

  struct with fields:

    a: 3
    b: 'Hello'
    c: [2×2 double]


i.e., when a field is a matrix only the name and dimensions are indicated, but
not expanded.

I find the Matlab behavior more practical than the Octave one because it makes
easier to see how many fields there are and their names. It would be nice if
Octave's behavior where as the Matlab one for the structs.




    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Mensaje enviado vía Savannah
  https://savannah.gnu.org/




reply via email to

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