<div dir="ltr">Hey Dave,<div><br></div><div>I'm looking at this but unfortunately it doesn't look like it will be a quick fix. I'm currently in Sunnyvale getting my car serviced but I'll need to drive back to Santa Cruz and head up to the office in 20 minutes or so. Is this issue urgent or can it wait for a couple of days? If it is I'll try to look at this tonight.</div>
<div><br></div><div>-Nathan</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Aug 12, 2013 at 9:25 AM, David Collins <span dir="ltr"><<a href="mailto:dcollins4096@gmail.com" target="_blank">dcollins4096@gmail.com</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"><div><div>Hi again--<br><br>Sorry, my last email didn't actually have a question in it. <br><br></div>
Does anyone know how to get the coordinates that the plot window uses (after re-centering and zooming) and the coordinates of the annotate_image_line to agree? <br>
<br></div>Thanks,<br>d.<br></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Aug 12, 2013 at 12:14 PM, David Collins <span dir="ltr"><<a href="mailto:dcollins4096@gmail.com" target="_blank">dcollins4096@gmail.com</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"><div>Hi, everybody--<br><br></div><div>I'm having trouble getting plot_window coordinages and annotate_image_line coordinates to agree. I have a small region that I'm trying to annotate with lines, and zoom in on. I'm having trouble getting my coordinates working together.<br>
<br>If I do<br>proj = oober.pf.h.proj(ax,'Density',source=source)<br>pw = proj.to_pw(center=proj_center,origin='domain' )<br></div><div>pw.zoom( 1/size)<br><br></div><div>I have the object centered on the plot and zoomed appropriately. If I do <br>
<br>proj = oober.pf.h.proj(ax,'Density',source=source)<br>pw = proj.to_pw()<br>pw.annotate_image_line(p1, p2, data_coords=True)<br clear="all"></div><div><div><br></div><div>the lines show up in the position I expect relative to my object. However, if I include both the re-centering in to_pw and the call to annotate_image_line, the line doesn't show up where I want relative to the object. If I skip the data_coords or origin argument it doesn't seem to help. I've dug around the docs and source but haven't sorted how to make the plot window coordinages and annotate_image_line coordinates agree.<br>
<br>Thanks!<span><font color="#888888"><br>d.<br><br></font></span></div><span><font color="#888888"><div><br>-- <br><div dir="ltr">-- Sent from a computer.<br></div>
</div></font></span></div></div>
</blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr">-- Sent from a computer.<br></div>
</div>
</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>