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

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

[Octave-bug-tracker] [bug #65661] bar plot unable to set individual bar


From: Nicholas Jankowski
Subject: [Octave-bug-tracker] [bug #65661] bar plot unable to set individual bar colors
Date: Mon, 29 Apr 2024 17:15:14 -0400 (EDT)

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

                 Summary: bar plot unable to set individual bar colors
                   Group: GNU Octave
               Submitter: nrjank
               Submitted: Mon 29 Apr 2024 05:15:13 PM EDT
                Category: Plotting
                Severity: 1 - Wish
                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
           Fixed Release: None
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Mon 29 Apr 2024 05:15:13 PM EDT By: Nicholas Jankowski <nrjank>
as briefly discussed over in bug #65315, because octave creates a custom bar
hggroup for bar graphs, it cannot accept all of the options available in
Matlab's bar object, which appears to be a subclass of patch objects.  just
like with patch objects, you can specify colors by defining something like 

h.facecolor = "flat"
h.CData = [r g b]

or similar specifying colors for each face or vertex. 

hggroup / bargroup objects in octave do not have the full set of patch
properties available, likely because that was not a compatibility requirement
when old bar graph objects were first created.  As it is likely to be some
time before octave implements fully compatible, object oriented graphics
objects, i'm creating this wish list item to capture the idea of pulling
additional properties, such as for color, into the bargroup definition. 








    _______________________________________________________

Reply to this item at:

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

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

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