<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><div dir="ltr">I'm really sorry, I can't seem to explain this very clearly in words!<div><br></div><div>I have 2D axisymmetric data.  Let's suppose that I map this to a 3D Cartesian dataset.  I'd like to make a 2D plot from this 3D data that consists of integrating the density along rays from the observer through the dataset onto a plane on the other side of the data.  Ideally, I'd like to do this with the observer at an arbitrary position with respect to the axes.</div><div><br></div><div>I haven't done it, but it seems like this is built in to yt's functionality for 3D datasets.  But I haven't found how to do it for a 2D axisymmetric dataset.</div><div><br></div><div><br></div><div>Sorry for all the messages!</div><div>Ken</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, May 14, 2015 at 5:28 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">to be clear here, what Flash calls cylindrical is 2-d axisymmetric, r-z.  If I understand what you are asking, you basically want to still have a 2-d plot where each cell is the integral over an annular region as if that cell were rotated about the symmetry axis -- is that right?  </div><div class="gmail_extra"><div><div class="h5"><br><div class="gmail_quote">On Thu, May 14, 2015 at 8:21 PM, Ken Shen <span dir="ltr"><<a href="mailto:kenshen@astro.berkeley.edu" target="_blank">kenshen@astro.berkeley.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">Hi, sorry I wasn't very clear before.  I'd like to make 2D column density plots of my 2D cylindrical data as if my data were 3D cylindrical data with no phi-dependence.<div><br></div><div>(The ProjectionPlot fails for axis = 1 or 3.  For axis = 2, it essentially recreates the regular density slice plot.)</div><div><br></div><div><br></div><div>Thanks,</div><div>Ken</div><div><br></div><div><br><div><br></div></div></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, May 14, 2015 at 5:00 PM, Matthew Turk <span dir="ltr"><<a href="mailto:matthewturk@gmail.com" target="_blank">matthewturk@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Ken,<br>
<br>
(I think Suoqing's answer may work as well.)  If you want to project<br>
along r, z, or theta, you can do a ProjectionPlot (or "ds.proj") and<br>
specify "r", "z", or "theta", and the result will be along that axis<br>
with the correct path lengths.  I think that the "r" direction may be<br>
what you're looking for here, i.e., a soup-can label.<br>
<br>
-Matt<br>
<div><div><br>
On Thu, May 14, 2015 at 6:31 PM, Ken Shen <<a href="mailto:kenshen@astro.berkeley.edu" target="_blank">kenshen@astro.berkeley.edu</a>> wrote:<br>
> Hi all, I'd like to make column density plots of my 2D cylindrical FLASH<br>
> data.  Ideally, these would be at arbitrary angles to the z-axis.  I'm new<br>
> to yt, so I could very well have missed it, but I couldn't seem to find this<br>
> in the documentation.  Any hints?<br>
><br>
><br>
> Thanks,<br>
> Ken<br>
><br>
</div></div><div><div>> _______________________________________________<br>
> yt-users mailing list<br>
> <a href="mailto:yt-users@lists.spacepope.org" target="_blank">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>
_______________________________________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org" target="_blank">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>
</div></div></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org" target="_blank">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><br clear="all"><div><br></div></div></div><span class="HOEnZb"><font color="#888888">-- <br><div><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></div>
</font></span></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>