[yt-users] Line through slice

Nicholas Earl earlnich at msu.edu
Sun Apr 25 18:59:39 PDT 2010


Worked perfectly; thank you!

Nick

On Sun, Apr 25, 2010 at 9:00 PM, Matthew Turk <matthewturk at gmail.com> wrote:

> Hi Nicholas,
>
> In the trunk at r1698 I added something that might be able to do what
> you want.  I've placed a sample script here:
>
> http://paste.enzotools.org/show/466/
>
> Note that the arguments to the image_line callback are in the image
> plane: p1 and p2 are (px, py) and (px, py), which assumes that you
> have the image plane x, y figured out (you can use x_dict and y_dict
> to get this info.)
>
> Let me know if that doesn't work,
>
> Matt
>
> On Sun, Apr 25, 2010 at 5:40 PM, Nicholas Earl <earlnich at msu.edu> wrote:
> > Hey community,
> >
> > Was wondering if anyone has any idea how I might put in a line at some x
> > value when I do a Simple Slice. Just a simple line along the y-axis.
> >
> > Thanks for your time and effort,
> > Nicholas Earl
> >
> > _______________________________________________
> > yt-users mailing list
> > yt-users at lists.spacepope.org
> > http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
> >
> >
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20100425/1e9022c1/attachment.htm>


More information about the yt-users mailing list