[yt-users] Forcing a linear axis (well, actually two) on a phase plot

Stephanie Tonnesen stonnes at gmail.com
Mon Oct 21 19:10:06 PDT 2013


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20131021/87d5565d/attachment.htm>


More information about the yt-users mailing list