[yt-dev] Issue #1198: Add ability to plot cell edges (yt_analysis/yt)

Matthew Turk issues-reply at bitbucket.org
Sun Mar 27 07:42:28 PDT 2016


New issue 1198: Add ability to plot cell edges
https://bitbucket.org/yt_analysis/yt/issues/1198/add-ability-to-plot-cell-edges

Matthew Turk:

Right now we can plot grid patch edges with `annotate_grids`, but not the cell edges.

This should be straightforward to implement with a flag in the call to the pixelizer.  Much like how the line pixelization occurs in the volume renderer, when a pixel is near to the edge of a cell (comparing `pdx` `pdy` `px` and `py`) closer than some epsilon (user specifiable, probably defaulting to something sane and thin) it should toss in a black line.  Since the pixelization right now works as returning data values, this would be a separate call that would return RGBA values where the color is either (0.0, 0.0, 0.0, 1.0) or (0.0, 0.0, 0.0, 0.0).

Responsible: MatthewTurk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-dev-spacepope.org/attachments/20160327/2bfb216a/attachment.htm>


More information about the yt-dev mailing list