Ah, I see, I see.<div><br></div><div>This method, however, worked perfectly!</div><div><br></div><div>Thanks for your help,</div><div>Nick<br><br><div class="gmail_quote">On Wed, Jun 1, 2011 at 11:35 AM, David Collins <span dir="ltr"><<a href="mailto:dcollins@physics.ucsd.edu">dcollins@physics.ucsd.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">I ran into this very problem with Devin Silvia about a year ago.<br>
<br>
Try adding<br>
pc.set_xlim(xmin,xmax)<br>
pc.set_ylim(ymin,ymax)<br>
<br>
where [x,y][min,max] are the code unit extents of your data.  Put this<br>
before the pc.modify command.<br>
<br>
There's a bit of code in the clump callback that shifts the clump<br>
locations and checks that it's still in the plot region.  Since your<br>
plot window is taller than your data, it can't tell that it shifted it<br>
outside of the region you care about.<br>
<br>
I thought I fixed this in the code, but it seems I either didn't find<br>
a good enough fix or that fix didn't propagate (though I don't see<br>
anything in any version, so I suspect the former.) Devin (if you're<br>
out there) do you remember if there was a better work around than<br>
this?<br>
<br>
d.<br>
<div><div></div><div class="h5"><br>
<br>
On Wed, Jun 1, 2011 at 9:04 AM, Nicholas Earl <<a href="mailto:earlnich@msu.edu">earlnich@msu.edu</a>> wrote:<br>
> Hey all,<br>
> I've been trying to do a clump finding on some 2D data, however I'm having<br>
> difficulties visualizing it. I had sifted through the yt mailing list and<br>
> came across Dave Collin's clump_tools, but when I use it and attempt to<br>
> overlay the clump results on a slice of density, it seems as though they<br>
> don't want to overlap.<br>
> Here is the script, and the image is attached.<br>
> <a href="http://paste.enzotools.org/show/1678/" target="_blank">http://paste.enzotools.org/show/1678/</a><br>
> Thanks!<br>
> Nick<br>
><br>
><br>
</div></div>> _______________________________________________<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>
><br>
<font color="#888888"><br>
<br>
<br>
--<br>
Sent from my computer.<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>
</font></blockquote></div><br></div>