<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jun 26, 2015 at 9:43 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:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">Hi, Nathan--<div><br></div><div>Thanks!</div><div class="gmail_extra"><div class="gmail_quote"><span class=""><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">You can change the axes units using the set_width function, which accepts a (width, unit) tuple or a tuple of such tuples. </blockquote><div><br></div></span><div>Does that change the actual data represented?  </div></div></div></div></blockquote><div><br></div><div>No.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span class=""><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">You can change the unit of the image with the set_unit function.</blockquote><div><br></div></span><div>My dataset doesn't have any intrinsic units, is there an easy way to tell the dataset how to get from code to physical units?  I feel like this question has been asked before, but I can't find the answer, sorry about that. </div></div></div></div></blockquote><div><br></div><div>When you call load, supply an overload_units dictionary. See:</div><div><br></div><div><a href="http://yt-project.org/docs/dev/analyzing/units/comoving_units_and_code_units.html?highlight=units_override#Overriding-Code-Unit-Definitions">http://yt-project.org/docs/dev/analyzing/units/comoving_units_and_code_units.html?highlight=units_override#Overriding-Code-Unit-Definitions</a><br></div><div><br></div><div>Thanks to John ZuHone for implementing that functionality and making sure it's working and tested for all the frontends.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div><br></div><div>d.</div><div> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class=""><div><br></div><div>Hope that helps,</div><div><br></div><div>Nathan<div><div><span></span><br><br>On Friday, June 26, 2015, David Collins <<a href="mailto:dcollins4096@gmail.com" target="_blank">dcollins4096@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">Hi, Everybody--<div><br></div><div>I'm looking to find a way to change the units on the x- and y-axes for a projection.  Is it possible to do that directly on the plot window or projection object?  Or, is it possible to make an arbitrary unit conversion once a dataset has been loaded?</div><div><br></div><div>Thanks!</div><div>d.</div><div><div><br></div>-- <br><div><div dir="ltr">-- Sent from a computer.<br></div></div>
</div></div>
</blockquote></div></div></div>
<br></span>_______________________________________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org" target="_blank">yt-users@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" rel="noreferrer" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
<br></blockquote></div><span class=""><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr">-- Sent from a computer.<br></div></div>
</span></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" rel="noreferrer" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
<br></blockquote></div><br></div></div>