[yt-users] Forcing a linear axis (well, actually two) on a phase plot
Stephanie Tonnesen
stonnes at gmail.com
Tue Oct 22 08:04:41 PDT 2013
Excellent, worked, thanks!
-Stephanie
On Mon, Oct 21, 2013 at 10:35 PM, John ZuHone <jzuhone at gmail.com> wrote:
> Hi Stephanie,
>
> Try:
>
> pc.add_phase_object(tracerp25,["z","velocity_z","CellMass"],weight=None,
> x_log=False, y_log=False)
>
> Best,
>
> John
>
> On Oct 21, 2013, at 10:10 PM, Stephanie Tonnesen <stonnes at gmail.com>
> wrote:
>
> Hi Everyone,
>
> I am trying to make a phase plot, and I want both of my axes to be
> linear. I write:
> pc = PlotCollection(pf)
> tracerp25 = alld.cut_region(["grid['specific_scalar[0]'] > 0.25",
> "grid['z'] > 0.01"])
>
> pc.add_phase_object(tracerp25,["z","velocity_z","CellMass"],weight=None)
> p.set_log("z",False)
> p.set_log("velocity_z",False)
> pc.save()
>
> And get the figure below. I am betting there is a simple command I am
> missing.
>
> Thanks!
>
> Stephanie
>
>
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>
>
>
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20131022/eaaf7217/attachment.htm>
More information about the yt-users
mailing list