|
From: | Rik |
Subject: | [Octave-bug-tracker] [bug #60691] Legend unaware of new "scatter" graphics object |
Date: | Fri, 28 May 2021 19:30:56 -0400 (EDT) |
User-agent: | Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.93 Safari/537.36 |
Follow-up Comment #3, bug #60691 (project octave): Attached is a quick patch. "scatter" objects used to be of type hggroup with a tag of "__scatter__". The first fix was just to recognize "scatter" as a valid type of graphics object. However, the patch isn't perfect because there needs to be a translation of properties from the scatter plot to the patch object used to draw the icon in the legend. In particular, "markeredgecolor" property on the patch object probably needs to be the "cdata" property from the "scatter" object if "markeredgecolor" is a string like "flat". (file #51496) _______________________________________________________ Additional Item Attachment: File name: bug60691.v1.cset Size:2 KB <https://file.savannah.gnu.org/file/bug60691.v1.cset?file_id=51496> _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?60691> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |