<div dir="ltr">Hi Matt,<div><br></div><div>Ah, gotcha - thanks!  I also spoke to Hilary on #yt, which was helpful.  So, to clarify, is the appropriate thing to do in this case, then, to create a profile by:</div><div><br></div>
<div>profile = create_profile(ad,bin_fields=["Baryon_Overdensity","Temperature"],n=[256,256],fields=["CellMassMsun"])<br></div><div><br></div><div>edit the profile.x and profile.y arrays directly so that they have the limits I want, by say:</div>
<div><br></div><div>profile.x = np.logspace(-1,5,256)</div><div><br></div><div>(and similarly for y),</div><div><br></div><div>and then pass it into PhasePlot?</div><div><br></div><div>--Brian</div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Mon, Aug 18, 2014 at 11:04 AM, Matthew Turk <span dir="ltr"><<a href="mailto:matthewturk@gmail.com" target="_blank">matthewturk@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Brian,<br>
<br>
Looks to me like the best way to do this is in 2.x is to construct the<br>
PhasePlot you want using create_profile( ... ), and then use<br>
PhasePlot.from_profiles to make it into a phase plot.<br>
<br>
-Matt<br>
<div><div class="h5"><br>
On Mon, Aug 18, 2014 at 10:00 AM, Brian O'Shea <<a href="mailto:bwoshea@gmail.com">bwoshea@gmail.com</a>> wrote:<br>
> Hi folks,<br>
><br>
> I'm using yt 2.6 (well, the most up-to-date version of yt 2.x), and am<br>
> attempting to manually set the limits on a 2D phase plot.  Unfortunately, I<br>
> can't find anything in the docs, and the one IPython notebook solution<br>
> linked to is defunct.  So, if I want to manually set the x and y limits on a<br>
> plot generated using PhasePlot - i.e., with the command:<br>
><br>
> phase = PhasePlot(ad, "Baryon_Overdensity", "Temperature", "CellMassMsun",<br>
> weight_field=None, fractional=True)<br>
><br>
> What is the best way to do this?<br>
><br>
> Thanks!<br>
><br>
> --Brian<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>
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>
</blockquote></div><br></div>