[yt-users] extracting data of PhasePlot

Elizabeth Tasker tasker at astro1.sci.hokudai.ac.jp
Sun Jun 8 06:57:16 PDT 2014


Hi Alexander,

If you have:

pp = PhasePlot(object, "Density", "Temp", "CellMassMsun", weight_field=None)

Then:

x = pp.profile.x.copy()
y = pp.profile.y.copy()
z = pp.profile['CellMassMsun']


I think should do it.

Elizabeth



On Jun 8, 2014, at 10:48 PM, Alexander A. Kaurov <akaurov at gmail.com> wrote:

> Hi All,
> 
> Is there an easy way to extract numpy array with 2d histogram from PhasePlot? Same question for other types of plots.
> 
> Thanks!
> 
> - Alexander
> _______________________________________________
> 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/20140608/336a5c30/attachment.html>


More information about the yt-users mailing list