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

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

[Octave-bug-tracker] [bug #40212] Default graphics properties are not su


From: Rik
Subject: [Octave-bug-tracker] [bug #40212] Default graphics properties are not supported for rectangle objects
Date: Wed, 09 Oct 2013 01:00:18 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:24.0) Gecko/20100101 Firefox/24.0

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

                 Summary: Default graphics properties are not supported for
rectangle objects
                 Project: GNU Octave
            Submitted by: rik5
            Submitted on: Tue 08 Oct 2013 06:00:17 PM PDT
                Category: Plotting
                Severity: 2 - Minor
                Priority: 5 - Normal
              Item Group: Matlab Compatibility
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Any

    _______________________________________________________

Details:

This is a small incompatibility.  Matlab implements rectangles as a base
graphic object, akin to a line or patch object.  In Octave, we synthesize a
rectangle from an hggroup with a patch child.  Because of this, there is no
way to set default properties as shown below.


set (0, 'DefaultRectangleFaceColor', 'r')
error: invalid default property specification


Perhaps the property list could be changed in graphics.in.h.  Otherwise, maybe
a whole new low-level graphics object is required for rectangles.





    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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