<div dir="ltr">Hi Mike,<div><br></div><div>You can get the triad using cam.draw_coordinate_vectors(im), which accepts raw 2D image data, just like draw_domain.</div><div><br></div><div>I don't think there's a way to get ticks and labels on the box.  You can take a look at the source code and try to modify it yourself, though.  See yt/volume_rendering/camera.py (<a href="https://bitbucket.org/yt_analysis/yt/src/4ef4449dc0af669eed5d6477f70487a7be779e00/yt/visualization/volume_rendering/camera.py?at=yt-3.0">here</a>), where draw_domain is defined, and yt/utilities/lib/misc_utilities.pyx (<a href="https://bitbucket.org/yt_analysis/yt/src/4ef4449dc0af669eed5d6477f70487a7be779e00/yt/utilities/lib/misc_utilities.pyx?at=yt-3.0">here</a>) where the Cython 'lines` function, which actually draws the domain onto the image, is defined.</div>

<div><br></div><div>-Nathan</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Jan 12, 2014 at 5:48 PM, Michael Zingale <span dir="ltr"><<a href="mailto:michael.zingale@stonybrook.edu" target="_blank">michael.zingale@stonybrook.edu</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Is there a yt way to add an axes triad (like in VisIt -- just a simple indicator of the direction for +x, +y, +z) to a volume render image?<div>

<br></div><div>Also on those lines, when I draw a box for the domain with <br clear="all">
<div>cam.draw_domain(im), is there a way to get it to add ticks and labels to the box?<br></div><div><br></div><div>Thanks,</div><div><br></div><div>Mike</div><span class="HOEnZb"><font color="#888888"><div><br></div>-- <br>

<div>Michael Zingale</div><div>Associate Professor</div>
<div><br></div><div>Dept. of Physics & Astronomy • Stony Brook University • Stony Brook, NY 11794-3800</div><div><i>phone</i>:  <a href="tel:631-632-8225" value="+16316328225" target="_blank">631-632-8225</a></div><div>

<i>e-mail</i>: <a href="mailto:Michael.Zingale@stonybrook.edu" target="_blank">Michael.Zingale@stonybrook.edu</a></div>
<div><i>web</i>: <a href="http://www.astro.sunysb.edu/mzingale" target="_blank">http://www.astro.sunysb.edu/mzingale</a></div>
</font></span></div></div>
<br>_______________________________________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
<br></blockquote></div><br></div>