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

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

[Octave-bug-tracker] [bug #64956] 'color' isn't a supported property of


From: Pantxo Diribarne
Subject: [Octave-bug-tracker] [bug #64956] 'color' isn't a supported property of a contour group but... it should. Or doc should be more explicit
Date: Fri, 1 Dec 2023 15:02:48 -0500 (EST)

Follow-up Comment #1, bug #64956 (project octave):

According to ML doc, "linecolor", which Octave uses, is now discouraged in
favor of "edgecolor". So, rather than adding the undocumented property "color"
(probably a relic of old ML syntax that they well could forbid without warning
in a future version), Octave should introduce the official "edgecolor"
property in order to make ML code, written against documented properties, run
fine in Octave as well.

As for the difference between `plot` and `contour`: The `plot` function
produces line objects, and the "color" property makes sense because it
directly refers to the color of the main object, the line. On the other hand,
the `contour(f)` functions essentially produce groups of patch objects, which
have both edge and face colors, hence the distinction.





    _______________________________________________________

Reply to this item at:

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

_______________________________________________
Message posté via Savannah
https://savannah.gnu.org/




reply via email to

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