[yt-users] phaseplot set zlim

Stephanie Tonnesen stonnes at gmail.com
Sun Mar 26 18:38:03 PDT 2017


Hi Nathan,

Thanks!  I was hoping there was a way to do this within the plotting
commands, but that will definitely work.

Stephanie

On Sun, Mar 26, 2017 at 4:21 PM Nathan Goldbaum <nathan12343 at gmail.com>
wrote:

> Hi Stephanie,
>
> One way to do this would be to create the PhasePlot using a cut_region
> data object. If you're already using another data object to construct your
> phase plot, the cut_region could be passed to the other data object via the
> data_source keyword argument.
>
> Nathan
>
> On Sun, Mar 26, 2017 at 4:24 PM Stephanie Tonnesen <stonnes at gmail.com>
> wrote:
>
> Hi yt-users,
>
> I am trying to make some nice looking phaseplots, and want to set the mass
> range that I show in the figure.  I use set_zlim and instead of only
> showing the cells that call into that mass range, it just changes the color
> coding.  You can see the attached for what I am talking about.  Is there a
> way to have phaseplot only show me the cells that have "cell_mass" larger
> that 1e36 (or whatever I happen to set)?
>
> Thanks!
>
> Stephanie
>
> --
> Dr. Stephanie Tonnesen
> Alvin E. Nashman Postdoctoral Fellow
> Carnegie Observatories, Pasadena, CA
> stonnes at gmail.com
>
> _______________________________________________
> 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
>
-- 
--
Dr. Stephanie Tonnesen
Alvin E. Nashman Postdoctoral Fellow
Carnegie Observatories, Pasadena, CA
stonnes at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20170327/10c1be56/attachment.html>


More information about the yt-users mailing list