[yt-dev] Issue #590: Orientation arrows for volume rendering (yt_analysis/yt)

Erik Rosolowsky issues-reply at bitbucket.org
Sun Jun 9 17:16:44 PDT 2013


New issue 590: Orientation arrows for volume rendering
https://bitbucket.org/yt_analysis/yt/issue/590/orientation-arrows-for-volume-rendering

Erik Rosolowsky:

In my recent experience using yt, it was difficult to construct a sample set of axes that orient the volume render with respect to the original coordinate axes of the data set in question.  This feature is particularly useful for rendering observational data.  I tried implementing this through a series of draw_box, but it wasn't of the quality that the rest of the yt was producing.
```
#!python
x0 = np.array([0.4,0.7,0.5])
dx = np.array([0.05,0.0,0.0])
camera.draw_box(image,x0,x0+dx,color=np.array([1.,1.,1.,1.0]))
```
Requests from my collaborators included both clearer lines, with arrow heads and the ability to render text along the arrows.



Responsible: samskillman



More information about the yt-dev mailing list