[yt-users] extracting data of PhasePlot

Alexander A. Kaurov akaurov at gmail.com
Sun Jun 8 06:59:39 PDT 2014


Hi Elizabeth,
​

Thanks a lot! It works!

- Alexander​


On Sun, Jun 8, 2014 at 8:57 AM, Elizabeth Tasker <
tasker at astro1.sci.hokudai.ac.jp> wrote:

> 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
>
>
>
> _______________________________________________
> 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/01e65e32/attachment.html>


More information about the yt-users mailing list