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

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

[Octave-bug-tracker] [bug #65659] single bar plots wider than multi-bar


From: Nicholas Jankowski
Subject: [Octave-bug-tracker] [bug #65659] single bar plots wider than multi-bar plots unlike matlab
Date: Mon, 29 Apr 2024 14:45:32 -0400 (EDT)

Follow-up Comment #6, bug #65659 (group octave):

confirming that (at first glance) our bar objects don't support the same color
options as matlab's. (as with many other graphics objects, matlab has
implemented separate object types for these things, in this case a 'bar
object' is return that appears to be a subclass of a patch object with a few
new bar features.) 

Each set of bars uses a single color value, and our hggroup doesn't inherit
the properties from patch objects to create multiple colors. It only gets
'facecolor' and 'edgecolor'.  With patches, those can either take colorspecs
or other values that tell it to look for color data in other properties
(cdata, facevertexcdata, etc.). 

While the long range plan would be to support compatible 'bar objects', a
nearer term wish list item could be to upgrade bargroup objects to also
inherit the cdata and/or facevertexcdata properties to enable more compatible
color control. (if no one else gets there first, i may create a wish list bug
report for that)


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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