<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!<br>d.<br><br></div><div><br>-- <br><div dir="ltr">-- Sent from a computer.<br></div>
</div></div></div>