<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, May 21, 2014 at 2:31 PM, Nathan Goldbaum <span dir="ltr"><<a href="mailto:nathan12343@gmail.com" target="_blank">nathan12343@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"><br><div class="gmail_extra"><br><br><div class="gmail_quote">

<div class="">On Wed, May 21, 2014 at 2:26 PM, Sam Leitner <span dir="ltr"><<a href="mailto:sam.leitner@gmail.com" target="_blank">sam.leitner@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 yt folks, <div><br></div><div>I ran into a problem with PhasePlot that's also apparent in the docs. See the last couple of plots here: <br>


</div><div><div><div><a href="http://yt-project.org/docs/dev-3.0/analyzing/units/units_and_plotting.html" target="_blank">http://yt-project.org/docs/dev-3.0/analyzing/units/units_and_plotting.html</a><br>



</div></div><div>the color bar doesn't re-scale with set_unit changes currently. I couldn't easily reverse engineer what is done to get this right in e.g. slice plot (but, as a work-around, I just defined a new field with the correct units).</div>





<div><br></div></div></div></blockquote><div><br></div></div><div>Argh, good point!  I will fix this.</div></div></div></div></blockquote><div><br></div><div>PR issued: <a href="https://bitbucket.org/yt_analysis/yt/pull-request/917/fixing-set_unit-for-phaseplot-which-was/diff">https://bitbucket.org/yt_analysis/yt/pull-request/917/fixing-set_unit-for-phaseplot-which-was/diff</a></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 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"><div dir="ltr">
<div><div></div><div>Also, does PhasePlot have set_x/ylim functionality that I'm not finding? </div><div><br></div></div></div></blockquote><div><br></div></div><div>Not yet although it wouldn't be hard to add. Right now you need to supply a custom profile object to the PhasePlot constructor.</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><div></div><div>Thanks!</div>

<span><font color="#888888"><div>Sam<br></div>
</font></span></div></div>
<br>_______________________________________________<br>
yt-dev mailing list<br>
<a href="mailto:yt-dev@lists.spacepope.org" target="_blank">yt-dev@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org</a><br>
<br></blockquote></div><br></div></div>
</blockquote></div><br></div></div>