[yt-users] Question about 2D phase plot limits

Matthew Turk matthewturk at gmail.com
Mon Aug 18 08:04:40 PDT 2014


Hi Brian,

Looks to me like the best way to do this is in 2.x is to construct the
PhasePlot you want using create_profile( ... ), and then use
PhasePlot.from_profiles to make it into a phase plot.

-Matt

On Mon, Aug 18, 2014 at 10:00 AM, Brian O'Shea <bwoshea at gmail.com> wrote:
> Hi folks,
>
> I'm using yt 2.6 (well, the most up-to-date version of yt 2.x), and am
> attempting to manually set the limits on a 2D phase plot.  Unfortunately, I
> can't find anything in the docs, and the one IPython notebook solution
> linked to is defunct.  So, if I want to manually set the x and y limits on a
> plot generated using PhasePlot - i.e., with the command:
>
> phase = PhasePlot(ad, "Baryon_Overdensity", "Temperature", "CellMassMsun",
> weight_field=None, fractional=True)
>
> What is the best way to do this?
>
> Thanks!
>
> --Brian
>
>
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>



More information about the yt-users mailing list