|
From: | Markus Mützel |
Subject: | [Octave-bug-tracker] [bug #58282] Missing plot properties 'MarkerFaceAlpha' and 'MarkerEdgeAlpha' in the scatter function |
Date: | Thu, 7 May 2020 17:08:55 -0400 (EDT) |
User-agent: | Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:77.0) Gecko/20100101 Firefox/77.0 |
Update of bug #58282 (project octave): Item Group: Feature Request => Matlab Compatibility _______________________________________________________ Follow-up Comment #6: Thank you for the review. The attached patch includes the necessary changes in "struct2hdl.m" to load .fig files with scatter objects. It also adds some initial logic to support "cdatamode" "auto". For this to work correctly, it is necessary to create each scatter object with an incrementing integer value in "seriesindex". I'm not sure yet how to best implement this. It is probably necessary to make some changes in the axes object so that it can keep track of how many scatter objects it adopted. The patch also makes some more changes to the documentation. I also added a BIST to scatter that currently fails. So some more changes are still needed. I don't know why printing the transparent markers works differently from e.g. faces of patches or surfaces. I re-used the marker drawing function "opengl_renderer::draw_marker" that we already had and only passed an additional, forth value (alpha) to the color definitions. The markers seem to call a display list. That is different from how e.g. patches are drawn. I'm not sure if this makes a difference when printing. The display lists for the markers include drawing them using GL_POLYGON for the faces and GL_LINE_LOOP for the outline. The faces of surface objects are drawn using GL_QUAD, and a tesselator is used for the patch objects. I'm not sure if any of this helps. (file #49036) _______________________________________________________ Additional Item Attachment: File name: bug58282_scatter_v3.patch Size:65 KB <https://savannah.gnu.org/file/bug58282_scatter_v3.patch?file_id=49036> _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?58282> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |