[yt-users] ortho_ray question

Michael Zingale michael.zingale at stonybrook.edu
Tue Jul 22 21:19:30 PDT 2014


I am trying to use ortho_ray.

If I do:


c = ds.find_max("temperature")
coords = c[1]

ray = ds.ortho_ray(0, (coords[1], coords[2]))

and then plot ray["density"] vs. ray["x"] , I get a jumbled mess.  Printing
ray["x"], I see that it is not monotonic -- should I expect it to be?  The
docs seem to suggest that it would be sorted properly.

-- 
Michael Zingale
Associate Professor

Dept. of Physics & Astronomy • Stony Brook University • Stony Brook, NY
11794-3800
*phone*:  631-632-8225
*e-mail*: Michael.Zingale at stonybrook.edu
*web*: http://www.astro.sunysb.edu/mzingale
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20140723/d5915d30/attachment.htm>


More information about the yt-users mailing list