[yt-users] Adding contour lines to a phase plot?

Nathan Goldbaum nathan12343 at gmail.com
Mon Mar 17 12:09:39 PDT 2014


Hi Elizabeth,

I think this should be relatively straightforward to do.  That said you'll
probably need to do it manually - this functionality hasn't been added to
PhasePlot as a convenience function. I think we'd all appreciate it if
after getting this working you want to create such a convenience function.

I've sketched out a basic example in this notebook:
http://nbviewer.ipython.org/gist/ngoldbaum/9606112

Hope that helps,

Nathan




On Mon, Mar 17, 2014 at 11:11 AM, Elizabeth Tasker <
tasker at astro1.sci.hokudai.ac.jp> wrote:

> Hi everyone,
>
> Is it possible to overlay a phase plot
>
>  (pp = PhasePlot(my_galaxy, "Density", "Temp", "CellMassMsun"
> ,weight_field=None))
>
> with the contour lines? (So that if it's printed in black and white, then
> it would be clearer)
>
> Thanks!
>
> Elizabeth
>
> _______________________________________________
> 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/20140317/097983b9/attachment.htm>


More information about the yt-users mailing list